feat: enhance logging and message encryption features

- Introduced new logging services: operation logs, login logs, and data change logs.
- Added support for message content encryption in the Message model, including methods for encrypting and decrypting message segments.
- Updated router to include admin log handling and integrated log service for access logging.
- Modified configuration to support encryption settings.
This commit is contained in:
lafay
2026-03-15 20:38:22 +08:00
parent 700b8b6bad
commit b028f7e1d3
9 changed files with 500 additions and 31 deletions

View File

@@ -44,6 +44,8 @@ func ProvideRouter(
adminCommentHandler *handler.AdminCommentHandler,
adminGroupHandler *handler.AdminGroupHandler,
adminDashboardHandler *handler.AdminDashboardHandler,
adminLogHandler *handler.AdminLogHandler,
logService *service.LogService,
activityService service.UserActivityService,
casbinService service.CasbinService,
) *router.Router {
@@ -68,6 +70,8 @@ func ProvideRouter(
adminCommentHandler,
adminGroupHandler,
adminDashboardHandler,
adminLogHandler,
logService,
activityService,
casbinService,
)