Commit Graph

31 Commits

Author SHA1 Message Date
TsMask
33b95a6e30 fix:: 请求响应码用常量 2025-06-07 16:32:04 +08:00
TsMask
80d612c56c Refactor error handling in system and trace controllers
- Updated error response codes for various validation errors from 400 to 422 to better reflect the nature of the errors.
- Changed error messages for empty parameters (e.g., userId, menuId, roleId) to use a consistent error code format.
- Improved error handling in the IPerf, Ping, and WS controllers to provide more informative error messages.
- Ensured that all controllers return appropriate error messages when binding JSON or query parameters fails.
2025-04-27 16:38:19 +08:00
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
75b1efcc09 fix: 调度任务日志接口变更 2025-02-24 19:53:06 +08:00
TsMask
3380b6bfed feat: 多语言缓存管理 2025-02-24 16:44:11 +08:00
TsMask
f3c33b31ac feat: 更新多个模块以支持新的数据结构和日志格式 2025-02-20 10:08:27 +08:00
TsMask
bbef0afeb0 docs: 更新swagger注释信息 2025-02-06 14:29:03 +08:00
TsMask
bfe898d15f feat: swagger接口文档更新1.0.8改TokenAuth 2025-01-24 09:40:28 +08:00
TsMask
ed9aa17bc3 feat: swagger接口文档更新1.0.8 2025-01-23 15:07:22 +08:00
TsMask
873dadf014 style: 去除Impl接口声明层聚焦服务函数 2024-10-14 10:51:43 +08:00
TsMask
2c6787aa11 fix: 缓存信息安全清理排除登录用户身份和验证码信息 2024-08-29 15:02:54 +08:00
TsMask
cf1dbf4a0e style: 监控信息接口 2024-08-15 09:38:41 +08:00
TsMask
8eeb38c59a fix: 导出数据根据查询条件导出Execl 2024-08-01 15:01:33 +08:00
TsMask
e05c2a6a51 fix: 导出功能为全量,行头文字多语言翻译 2024-04-19 17:21:33 +08:00
TsMask
8b01661392 fix: 调度任务名称搜索多语言反查 2024-04-15 14:49:17 +08:00
26e9f29241 Fix: dir ems.agt change to be.ems 2024-03-06 21:00:42 +08:00
TsMask
97f80f5a33 fix: 缓存10分钟UPF总流量查询 2024-02-05 18:32:48 +08:00
TsMask
8f569924e3 feat: 缓存信息key字典多语言翻译 2024-02-05 14:34:05 +08:00
TsMask
b838c76a4f fix: 调度任务日志多语言下查询失败 2024-01-10 14:57:33 +08:00
TsMask
c2aa5b4a27 fix: 多语言字典数据源同步更新 2024-01-10 12:05:14 +08:00
TsMask
f439d6b708 fix: 调度任务更新状态导致数据值丢失 2024-01-09 16:37:27 +08:00
TsMask
cc9f779957 fix: 调度任务日志查询重复,移除多语言处理 2023-12-27 17:29:29 +08:00
TsMask
cc9c42037f feat: 调度任务日志查询全部数据接口异常 2023-12-22 10:34:41 +08:00
TsMask
ee90ec827b fix: 在线用户登录地点多语言显示问题 2023-11-24 17:12:52 +08:00
TsMask
d52945c946 feat: 监控模块多语言 2023-11-20 18:54:59 +08:00
TsMask
084a7b3c93 feat: 调度任务多语言 2023-11-20 18:54:15 +08:00
TsMask
d456b735fb style: 错误信息英文返回-monitor 模块路由 2023-11-08 14:57:08 +08:00
TsMask
f3437dd555 fix: 监控数据本机#号存入 2023-11-01 18:19:20 +08:00
TsMask
ff1c760452 feat: 服务器资源监控信息 2023-10-28 17:00:03 +08:00
TsMask
7b7b4c6002 fix: 系统信息读取 2023-10-21 19:24:33 +08:00
TsMask
40a32cb67f feat: 合并Gin_Vue 2023-10-16 17:10:38 +08:00