Commit Graph

8 Commits

Author SHA1 Message Date
Ray.Hao
c17077aba8 refactor: 调整注解路径至common包下 2024-12-08 16:35:29 +08:00
stackcn
06fcaf59fd feat(core): 增加系统日志功能
- 在 ConfigController 和 UserController 中添加日志注解
- 新增 LogModuleEnum.EXCEPTION 枚举值
- 在 Log 注解中添加 params 和 result 属性
- 实现日志切面,记录请求参数和响应结果
- 优化日志保存逻辑,支持异常日志记录
2024-12-06 13:54:12 +08:00
stackcn
17c395dbc7 feat(system): 添加系统配置操作日志记录功能
- 在 ConfigController 中新增日志注解,记录系统配置相关操作
- 更新 LogModuleEnum 枚举,添加 SETTING 系统配置模块
2024-12-05 17:55:35 +08:00
Theo
d2f240776e refactor(system): 优化系统模块接口定义
- 将 ConfigController 中的 refreshCache 方法和 NoticeController 中的 publishNotice 和 revokeNotice 方法的注解从 @RequestMapping 修改为 @PutMapping
- 这样做可以更明确地指定 HTTP 请求方法,提高代码可读性和维护性
2024-11-24 01:32:45 +08:00
Theo
3a9350c14a refactor(system): 扩展配置刷新接口支持 PATCH 方法
- 在 ConfigController 中更新 refreshCache 方法的映射
- 增加对 PUT 和 PATCH 方法的支持
2024-11-23 00:29:31 +08:00
Ky10
1d3313838b refactor(system): 调整系统配置接口权限控制和路由- 为 page 方法添加 @PreAuthorize 注解,控制查询权限- 将 refreshCache 方法的 HTTP 方法从 @PatchMapping 改为 @PutMapping
- 为 update 和 delete 方法添加缺失的 @PreAuthorize 注解
- 调整 delete 方法的注解顺序,使其与其它方法保持一致
2024-11-16 20:18:35 +08:00
Ray.Hao
37a20c7a6c style: 删除空行 2024-10-18 22:18:15 +08:00
ray
5a3694f2af refactor: 目录结构调整和代码优化 2024-08-31 14:59:40 +08:00