作者 唐旭辉

修改

... ... @@ -111,7 +111,7 @@ func init() {
beego.NSRouter("/login_sms", &controllers.AuthController{}, "post:LoginSms"),
beego.NSRouter("/sms_code", &controllers.AuthController{}, "post:SmsCode"),
beego.NSRouter("/sms_code/check", &controllers.AuthController{}, "post:SmsCodeCheck"),
beego.NSRouter("/reset_password", &controllers.MyController{}, "post:ResetPassword"),
beego.NSRouter("/my/reset_password", &controllers.MyController{}, "post:ResetPassword"),
)
nsUcenter := beego.NewNamespace("/ucenter",
beego.NSBefore(middleware.LogRequestData),
... ...