@@ -1060,12 +1060,12 @@ func (this *UserController) CountryCcode() {
br.Ret = 408
return
}
- if uid == 0 {
- br.Msg = "请登录"
- br.ErrMsg = "请登录,用户信息为空"
- br.Ret = 408
- return
- }
+ //if uid == 0 {
+ // br.Msg = "请登录"
+ // br.ErrMsg = "请登录,用户信息为空"
+ // br.Ret = 408
+ // return
+ //}
resp := new(models.CountryCode)
if user.CountryCode == "" && len(user.Mobile) >= 11 {
err := models.ChangeUserOutboundMobileByMobile(uid)