This commit is contained in:
clay 2021-09-30 14:17:42 +08:00
parent 53f38ad065
commit dd3ccef3ec
1 changed files with 7 additions and 6 deletions

View File

@ -55,12 +55,13 @@ public class TopQueryController extends BaseController {
@GetMapping("/online/{id}")
public AjaxResult online(@PathVariable("id") Long id){
ServerResult ServerResult = queryService.updateQueryInfo(uniQuery);
if (ServerResult.isStart()) {
return AjaxResult.success(ServerResult.getData());
} else {
return AjaxResult.info(ServerResult.getMsg());
}
// ServerResult ServerResult = queryService.updateQueryInfo(uniQuery);
// if (ServerResult.isStart()) {
// return AjaxResult.success(ServerResult.getData());
// } else {
// return AjaxResult.info(ServerResult.getMsg());
// }
return AjaxResult.success();
}