feat: reset password function is ready

This commit is contained in:
RockYang
2023-11-22 18:00:45 +08:00
parent 251fe626f2
commit 6d07881141
6 changed files with 161 additions and 7 deletions

View File

@@ -216,8 +216,9 @@ func main() {
group.GET("session", h.Session)
group.GET("profile", h.Profile)
group.POST("profile/update", h.ProfileUpdate)
group.POST("password", h.Password)
group.POST("password", h.UpdatePass)
group.POST("bind/mobile", h.BindMobile)
group.POST("resetPass", h.ResetPass)
}),
fx.Invoke(func(s *core.AppServer, h *chatimpl.ChatHandler) {
group := s.Engine.Group("/api/chat/")