Skip to content

Commit 588bc7e

Browse files
committed
refactor(system/log): 查询日志不再记录操作日志
1 parent e0747cb commit 588bc7e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

continew-webapi/src/main/java/top/continew/admin/controller/system/LogController.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
import top.continew.starter.extension.crud.model.query.PageQuery;
3737
import top.continew.starter.extension.crud.model.query.SortQuery;
3838
import top.continew.starter.extension.crud.model.resp.PageResp;
39+
import top.continew.starter.log.annotation.Log;
3940

4041
/**
4142
* 系统日志 API
@@ -51,13 +52,15 @@ public class LogController {
5152

5253
private final LogService baseService;
5354

55+
@Log(ignore = true)
5456
@Operation(summary = "分页查询列表", description = "分页查询列表")
5557
@SaCheckPermission("monitor:log:list")
5658
@GetMapping
5759
public PageResp<LogResp> page(LogQuery query, @Validated PageQuery pageQuery) {
5860
return baseService.page(query, pageQuery);
5961
}
6062

63+
@Log(ignore = true)
6164
@Operation(summary = "查询详情", description = "查询详情")
6265
@Parameter(name = "id", description = "ID", example = "1", in = ParameterIn.PATH)
6366
@SaCheckPermission("monitor:log:get")

0 commit comments

Comments
 (0)