优化日志管理分页查询

pull/3/head
TSQ 2021-01-09 13:56:20 +08:00
parent 6473ee7479
commit 66bcb813cf
1 changed files with 14 additions and 2 deletions

View File

@ -38,8 +38,20 @@ public class LogManagerController {
*/
@GetResource(name = "查询日志列表", path = "/logManager/list")
public ResponseData list(@RequestBody LogManagerParam logManagerParam) {
PageResult<LogRecordDTO> logRecordDtoPageResult = logManagerApi.queryLogListPage(logManagerParam);
return new SuccessResponseData(logRecordDtoPageResult);
return new SuccessResponseData(logManagerApi.queryLogList(logManagerParam));
}
/**
*
*
* @param
* @return
* @author TSQ
* @date 2021/1/8 17:36
*/
@GetResource(name = "查询日志列表", path = "/logManager/page")
public ResponseData page(@RequestBody LogManagerParam logManagerParam) {
return new SuccessResponseData(logManagerApi.queryLogListPage(logManagerParam));
}
/**