rdluck 4 years ago
parent
commit
347ff62ba5
1 changed files with 0 additions and 4 deletions
  1. 0 4
      controllers/wechat.go

+ 0 - 4
controllers/wechat.go

@@ -146,11 +146,7 @@ func (this *WechatCommonController) WechatLogin() {
 				userId = wxUser.UserId
 			}
 		}
-		br.Msg = "获取用户信息失败"
-		br.ErrMsg = "获取openid失败,openid:" + item.Openid
-		return
 	}
-
 	permission, err := services.CheckUserPermission(userId)
 	if err != nil {
 		br.Msg = "登录失败"