mirror of https://gitee.com/stylefeng/roses
优化日志管理分页查询
parent
6473ee7479
commit
66bcb813cf
|
@ -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));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue