Browse Source

更新结构

master
listen 3 years ago
parent
commit
e68c361408
2 changed files with 0 additions and 2 deletions
  1. +0
    -1
      common.go
  2. +0
    -1
      mp_userinfo.client.go

+ 0
- 1
common.go View File

@ -84,7 +84,6 @@ type MpOpenidRes struct {
type MpUserInfoReq struct { type MpUserInfoReq struct {
AccessToken string AccessToken string
Openid string Openid string
Lang string
} }
/** /**


+ 0
- 1
mp_userinfo.client.go View File

@ -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 {


Loading…
Cancel
Save