zwxi 10 tháng trước cách đây
mục cha
commit
650bc5e675
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      controllers/wechat.go

+ 4 - 0
controllers/wechat.go

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