|
@@ -38,7 +38,7 @@ public class LogController extends BaseController {
|
|
private LogService logService;
|
|
private LogService logService;
|
|
|
|
|
|
@WebControllerLog(description = "操作日志-查看日志列表")
|
|
@WebControllerLog(description = "操作日志-查看日志列表")
|
|
- @ApiOperation("分页获取用户列表")
|
|
|
|
|
|
+ @ApiOperation("分页获取日志列表")
|
|
@PostMapping("list")
|
|
@PostMapping("list")
|
|
public ResultJson list(@RequestBody PageDto param){
|
|
public ResultJson list(@RequestBody PageDto param){
|
|
PageHelper.startPage(param.getPageNum(), param.getPageSize());
|
|
PageHelper.startPage(param.getPageNum(), param.getPageSize());
|
|
@@ -48,6 +48,17 @@ public class LogController extends BaseController {
|
|
return new ResultJson(MsgCode.SUCCESS_CODE, pageInfo);
|
|
return new ResultJson(MsgCode.SUCCESS_CODE, pageInfo);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @WebControllerLog(description = "操作日志-日志搜索")
|
|
|
|
+ @ApiOperation("搜索")
|
|
|
|
+ @PostMapping("search")
|
|
|
|
+ public ResultJson search(@RequestBody PageDto param){
|
|
|
|
+ PageHelper.startPage(param.getPageNum(), param.getPageSize());
|
|
|
|
+ List<LogResponse> list = logService.search(param.getItemName());
|
|
|
|
+ PageInfo<LogResponse> pageInfo = new PageInfo<>(list);
|
|
|
|
+ return new ResultJson(MsgCode.SUCCESS_CODE, pageInfo);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
|