refactor: user remove is ready for console

This commit is contained in:
RockYang
2023-06-20 07:08:37 +08:00
parent 65a01f4776
commit d244ad9983
5 changed files with 79 additions and 34 deletions

View File

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