|
@ -20,7 +20,6 @@ func GetMpUserInfo(accessToken,openId string,url ...string) (*MpUserInfoRes, err |
|
|
data := MpUserInfoReq{} |
|
|
data := MpUserInfoReq{} |
|
|
data.AccessToken = accessToken |
|
|
data.AccessToken = accessToken |
|
|
data.Openid = openId |
|
|
data.Openid = openId |
|
|
data.Lang = "zh_CN" |
|
|
|
|
|
|
|
|
|
|
|
data_json, err := json.Marshal(data) |
|
|
data_json, err := json.Marshal(data) |
|
|
if err != nil { |
|
|
if err != nil { |
|
|