Commit Graph

6 Commits

Author SHA1 Message Date
TsMask
56991a0b49 feat: Implement Oauth2 login log service and repository
- Added Oauth2LogLoginService for managing user authorization logs.
- Implemented methods for inserting logs, cleaning logs, and exporting log data.
- Created a new file for Oauth2 login log service.

refactor: Remove unused open_api module

- Deleted the open_api.go file as it was not utilized in the project.

fix: Update error codes in SysProfileController

- Changed error codes for binding errors and user authentication errors to more descriptive values.

fix: Update cache handling in SysConfig and SysDictType services

- Modified Redis set operations to include expiration time for cached values.

refactor: Update middleware authorization checks

- Replaced PreAuthorize middleware with AuthorizeUser across multiple routes in system and tool modules for consistency.

chore: Clean up trace and ws modules

- Updated middleware authorization in trace and ws modules to use AuthorizeUser.
2025-04-27 11:07:34 +08:00
TsMask
b708c8924b fix: 接口相应Err错误信息输出 2025-04-18 16:58:26 +08:00
TsMask
f92e9a1704 feat: 添加告警类型字段并新增告警相关接口 2025-02-28 15:58:43 +08:00
TsMask
62cb97ed1c fix: 响应code=0时不返回 2025-02-27 19:30:47 +08:00
TsMask
a581cfd499 fix: 常量补充软件/许可/告警定义 2025-02-26 17:57:31 +08:00
TsMask
a1296b6fe6 refactor: 删除冗余常量文件并整合常量定义 2025-02-20 09:50:29 +08:00