...
|
...
|
@@ -140,8 +140,8 @@ func init() { |
|
|
nsAuth := beego.NewNamespace("/auth",
|
|
|
beego.NSBefore(middleware.AllowOption),
|
|
|
beego.NSBefore(middleware.LogRequestData),
|
|
|
beego.NSRouter("/login", &controllers.AuthController{}, "post:Login"),
|
|
|
beego.NSRouter("/login_secret", &controllers.AuthController{}, "post:LoginSecretKey"),
|
|
|
beego.NSRouter("/login_account", &controllers.AuthController{}, "post:Login"),
|
|
|
beego.NSRouter("/login", &controllers.AuthController{}, "post:LoginSecretKey"),
|
|
|
beego.NSRouter("/startCaptcha", &controllers.AuthController{}, "post:RegisterGeetest"),
|
|
|
beego.NSRouter("/verifyCaptcha", &controllers.AuthController{}, "post:ValidateGeetest"),
|
|
|
beego.NSRouter("/login_sms", &controllers.AuthController{}, "post:LoginSms"),
|
...
|
...
|
|