拼写错误修改 updata->update regist->register 更新需更新数据库 建议更新数据库文件 数据库将单表数据录入 方便选择性更新

This commit is contained in:
QM303176530
2020-04-02 22:31:48 +08:00
parent 1c30ae1080
commit f545048e60
17 changed files with 47 additions and 174 deletions
+3 -3
View File
@@ -8,10 +8,10 @@ import (
func InitBaseRouter(Router *gin.RouterGroup) (R gin.IRoutes) {
BaseRouter := Router.Group("base")
{
BaseRouter.POST("regist", api.Regist)
BaseRouter.POST("register", api.Register)
BaseRouter.POST("login", api.Login)
BaseRouter.POST("captcha",api.Captcha)
BaseRouter.GET("captcha/:captchaId",api.CaptchaImg)
BaseRouter.POST("captcha", api.Captcha)
BaseRouter.GET("captcha/:captchaId", api.CaptchaImg)
}
return BaseRouter
}