zwxi 10 月之前
父节点
当前提交
04b69373dc
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      controllers/wechat.go

+ 0 - 3
controllers/wechat.go

@@ -36,9 +36,6 @@ func (this *WechatCommonController) WechatLoginByGzh() {
 		br.ErrMsg = "Code 为空"
 		return
 	}
-	br.Msg = code
-	br.ErrMsg = "获取用户信息失败,Err:"
-	return
 
 	var token string
 	item, err := services.WxGetUserOpenIdByCodeGzh(code)