refactor: 管理后台用户编辑功能 is ready

This commit is contained in:
RockYang
2023-06-19 21:53:07 +08:00
parent 502b8c2270
commit 07da11d852
7 changed files with 95 additions and 75 deletions

View File

@@ -134,6 +134,8 @@ func main() {
fx.Invoke(func(s *core.AppServer, h *admin.UserHandler) {
group := s.Engine.Group("/api/admin/user/")
group.GET("list", h.List)
group.POST("update", h.Update)
group.GET("test", h.InitUser)
}),
fx.Invoke(func(s *core.AppServer, h *admin.ChatRoleHandler) {
group := s.Engine.Group("/api/admin/role/")