fix: deauthorize some apis

This commit is contained in:
RockYang
2023-07-27 10:53:14 +08:00
parent 1a6afcd266
commit 4faee3e48e
3 changed files with 5 additions and 5 deletions

View File

@@ -181,7 +181,7 @@ func main() {
fx.Invoke(func(s *core.AppServer, h *handler.SmsHandler) {
group := s.Engine.Group("/api/sms/")
group.GET("status", h.Status)
group.POST("code", h.VerifyCode)
group.POST("code", h.SendCode)
}),
fx.Invoke(func(s *core.AppServer, h *handler.CaptchaHandler) {
group := s.Engine.Group("/api/captcha/")