Commit Graph

17 Commits

Author SHA1 Message Date
TsMask
96b15d4cf2 feat: MML日志记录功能接口 2025-08-05 17:31:31 +08:00
TsMask
51a16c4ff5 fix: MML命令执行回车\r\n - IMS无法输出 2025-08-05 11:20:39 +08:00
TsMask
500ae6f79c fix: MML命令执行回车\r\n 2025-08-04 18:20:40 +08:00
TsMask
24a9157289 feat: 新增mml到工具模块 2025-07-15 15:06:25 +08:00
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
f3c33b31ac feat: 更新多个模块以支持新的数据结构和日志格式 2025-02-20 10:08:27 +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
944b2a9e1d fix: 支持aarch64平台软件包iperf v2 2024-11-15 11:12:17 +08:00
TsMask
2c139e71c4 feat: iperf支持v2的版本操作 2024-11-05 17:35:11 +08:00
TsMask
4897299ba3 feat: 新增ping 网元端版本信息检查接口 2024-10-16 17:23:15 +08:00
TsMask
1f0c932be8 style: 去除Impl接口声明层聚焦服务函数 2024-10-12 19:06:12 +08:00
TsMask
c1fa37731f feat: 工具模块iperf功能 2024-10-10 21:05:35 +08:00
TsMask
7ba111a7e9 feat: 工具模块ping功能 2024-10-10 21:05:12 +08:00
TsMask
e3b55c38e5 feat: 新增工具模块 iperf 2024-10-09 17:38:32 +08:00