feat(admin): 管理端在线监控 + 好友关系管理后端

- admin/service/online_service.go: 在线用户列表/计数
- admin/controller/online_controller.go: GET /admin/online/users|count
- admin/service/contact_manage_service.go: 好友关系分页查询/管理员删除
- admin/controller/contact_manage_controller.go: GET|DELETE /admin/contacts
- 更新 admin router/provider/wire 集成新控制器

Made-with: Cursor
This commit is contained in:
bujinyuan
2026-03-02 17:13:06 +08:00
parent 1c87a466a1
commit a77669ee99
9 changed files with 215 additions and 11 deletions

View File

@@ -14,4 +14,8 @@ var AdminSet = wire.NewSet(
dao.NewUserManageDAO,
service.NewUserManageService,
controller.NewUserManageController,
service.NewOnlineManageService,
controller.NewOnlineController,
service.NewContactManageService,
controller.NewContactManageController,
)