fixed bug for reset password

This commit is contained in:
RockYang
2024-09-12 17:25:19 +08:00
parent 961cee5e41
commit 5c77e67b0f
16 changed files with 115 additions and 33 deletions

View File

@@ -226,8 +226,9 @@ func main() {
// 注册路由
fx.Invoke(func(s *core.AppServer, h *handler.ChatRoleHandler) {
group := s.Engine.Group("/api/role/")
group := s.Engine.Group("/api/app/")
group.GET("list", h.List)
group.GET("list/user", h.ListByUser)
group.POST("update", h.UpdateRole)
}),
fx.Invoke(func(s *core.AppServer, h *handler.UserHandler) {