mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-10-26 18:58:37 +08:00
refactor(system/log): 查询日志不再记录操作日志
This commit is contained in:
@@ -36,6 +36,7 @@ import top.continew.admin.system.service.LogService;
|
|||||||
import top.continew.starter.extension.crud.model.query.PageQuery;
|
import top.continew.starter.extension.crud.model.query.PageQuery;
|
||||||
import top.continew.starter.extension.crud.model.query.SortQuery;
|
import top.continew.starter.extension.crud.model.query.SortQuery;
|
||||||
import top.continew.starter.extension.crud.model.resp.PageResp;
|
import top.continew.starter.extension.crud.model.resp.PageResp;
|
||||||
|
import top.continew.starter.log.annotation.Log;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 系统日志 API
|
* 系统日志 API
|
||||||
@@ -51,6 +52,7 @@ public class LogController {
|
|||||||
|
|
||||||
private final LogService baseService;
|
private final LogService baseService;
|
||||||
|
|
||||||
|
@Log(ignore = true)
|
||||||
@Operation(summary = "分页查询列表", description = "分页查询列表")
|
@Operation(summary = "分页查询列表", description = "分页查询列表")
|
||||||
@SaCheckPermission("monitor:log:list")
|
@SaCheckPermission("monitor:log:list")
|
||||||
@GetMapping
|
@GetMapping
|
||||||
@@ -58,6 +60,7 @@ public class LogController {
|
|||||||
return baseService.page(query, pageQuery);
|
return baseService.page(query, pageQuery);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Log(ignore = true)
|
||||||
@Operation(summary = "查询详情", description = "查询详情")
|
@Operation(summary = "查询详情", description = "查询详情")
|
||||||
@Parameter(name = "id", description = "ID", example = "1", in = ParameterIn.PATH)
|
@Parameter(name = "id", description = "ID", example = "1", in = ParameterIn.PATH)
|
||||||
@SaCheckPermission("monitor:log:get")
|
@SaCheckPermission("monitor:log:get")
|
||||||
|
|||||||
Reference in New Issue
Block a user