From e68c36140835b8d39a8b42defea56067b17f9c9d Mon Sep 17 00:00:00 2001 From: listen <494177603@qq.com> Date: Wed, 7 Jul 2021 15:32:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common.go | 1 - mp_userinfo.client.go | 1 - 2 files changed, 2 deletions(-) diff --git a/common.go b/common.go index 72df163..a69b676 100644 --- a/common.go +++ b/common.go @@ -84,7 +84,6 @@ type MpOpenidRes struct { type MpUserInfoReq struct { AccessToken string Openid string - Lang string } /** diff --git a/mp_userinfo.client.go b/mp_userinfo.client.go index e09a1cd..91b0c8f 100644 --- a/mp_userinfo.client.go +++ b/mp_userinfo.client.go @@ -20,7 +20,6 @@ func GetMpUserInfo(accessToken,openId string,url ...string) (*MpUserInfoRes, err data := MpUserInfoReq{} data.AccessToken = accessToken data.Openid = openId - data.Lang = "zh_CN" data_json, err := json.Marshal(data) if err != nil {