Browse Source

no message

xingzai 7 months ago
parent
commit
f45de0d372
1 changed files with 3 additions and 3 deletions
  1. 3 3
      controllers/user.go

+ 3 - 3
controllers/user.go

@@ -66,7 +66,7 @@ func (this *UserCommonController) Login() {
 			br.ErrMsg = "Password 为空"
 			return
 		}
-		userByps, err := models.GetWxUserItemByUserMobile(mobile)
+		userByps, err := models.GetWxUserItemByMobile(mobile)
 		if err != nil {
 			br.Msg = "获取信息失败"
 			br.ErrMsg = "获取信息失败,Err:" + err.Error()
@@ -2004,7 +2004,7 @@ func (this *UserCommonController) SetPass() {
 		return
 	}
 
-	user, err := models.GetWxUserItemByUserMobile(mobile)
+	user, err := models.GetWxUserItemByMobile(mobile)
 	if err != nil {
 		br.Msg = "获取信息失败"
 		br.ErrMsg = "获取信息失败,Err:" + err.Error()
@@ -2155,7 +2155,7 @@ func (this *UserCommonController) ReSetPass() {
 		return
 	}
 
-	user, err := models.GetWxUserItemByUserMobile(mobile)
+	user, err := models.GetWxUserItemByMobile(mobile)
 	if err != nil {
 		br.Msg = "获取信息失败"
 		br.ErrMsg = "获取信息失败,Err:" + err.Error()