拼写错误修改 updata->update regist->register 更新需更新数据库 建议更新数据库文件 数据库将单表数据录入 方便选择性更新
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user