From 3fd15bc3818a16c20ca48f1a98a41e2bb456bdb7 Mon Sep 17 00:00:00 2001 From: liuxm <liuxm@fescotech.com> Date: 星期三, 24 四月 2024 15:41:00 +0800 Subject: [PATCH] 日志管理--添加字段;登录验证码验证后删除 --- pms-parent/pms-web-base/src/main/java/com/dy/pmsBase/log/LogCtrl.java | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/pms-parent/pms-web-base/src/main/java/com/dy/pmsBase/log/LogCtrl.java b/pms-parent/pms-web-base/src/main/java/com/dy/pmsBase/log/LogCtrl.java index a64949a..7a1fb2c 100644 --- a/pms-parent/pms-web-base/src/main/java/com/dy/pmsBase/log/LogCtrl.java +++ b/pms-parent/pms-web-base/src/main/java/com/dy/pmsBase/log/LogCtrl.java @@ -4,9 +4,7 @@ import com.dy.common.webUtil.BaseResponse; import com.dy.common.webUtil.BaseResponseUtils; import com.dy.common.webUtil.QueryResultVo; -import com.dy.pmsGlobal.aop.LogSv; -import com.dy.pmsGlobal.aop.OperationDescription; -import com.dy.pmsGlobal.aop.QueryVo; +import com.dy.pmsGlobal.aop.Log; import com.dy.pmsGlobal.pojoBa.BaLog; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; @@ -32,7 +30,7 @@ */ @GetMapping(path = "one") @SsoPowerAop(power = "10100010") //鐧诲綍涓庢潈闄愬悓鏃堕獙璇� - @OperationDescription("鏌ヨ鍗曟潯鏃ュ織") + @Log("鏌ヨ鍗曟潯鏃ュ織") public BaseResponse<BaLog> one(String id){ try { return BaseResponseUtils.buildSuccess(sv.selectById(Long.parseLong(id))); @@ -48,7 +46,7 @@ */ @PostMapping(path = "some", consumes = MediaType.APPLICATION_JSON_VALUE) @SsoPowerAop(power = "10100010") //鐧诲綍涓庢潈闄愬悓鏃堕獙璇� - @OperationDescription("鍒嗛〉鏌ヨ鏃ュ織") + @Log("鍒嗛〉鏌ヨ鏃ュ織") public BaseResponse<QueryResultVo<List<BaLog>>> some(@RequestBody QueryVo vo){ try { QueryResultVo<List<BaLog>> res = sv.selectSome(vo); -- Gitblit v1.8.0