移动端和 PC 端登录页都加了“图形验证码
This commit is contained in:
@@ -299,6 +299,7 @@ func New(cfg config.Config, deps Dependencies, logger *zap.Logger) *gin.Engine {
|
||||
|
||||
authRoutes := api.Group("/auth")
|
||||
{
|
||||
authRoutes.GET("/captcha", authHandler.Captcha)
|
||||
authRoutes.POST("/sms/send", authHandler.SendSMS)
|
||||
authRoutes.POST("/sms/login", authHandler.Login)
|
||||
authRoutes.POST("/refresh", authHandler.Refresh)
|
||||
|
||||
Reference in New Issue
Block a user