增加 图片验证码功能
This commit is contained in:
@@ -10,8 +10,8 @@ func InitBaseRouter(Router *gin.RouterGroup) (R gin.IRoutes) {
|
||||
{
|
||||
BaseRouter.POST("regist", api.Regist)
|
||||
BaseRouter.POST("login", api.Login)
|
||||
BaseRouter.GET("captcha",api.Captcha)
|
||||
BaseRouter.GET("/captcha/:id",api.CaptchaImg)
|
||||
BaseRouter.POST("captcha",api.Captcha)
|
||||
BaseRouter.GET("captcha/:captchaId",api.CaptchaImg)
|
||||
}
|
||||
return BaseRouter
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user