This website works better with JavaScript.
Home
Explore
Help
Sign In
tgo
/
weixinrpc
Watch
6
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
34
Wiki
Activity
Browse Source
更新结构
master
listen
3 years ago
parent
7ecafe3fea
commit
e68c361408
2 changed files
with
0 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-1
common.go
+0
-1
mp_userinfo.client.go
+ 0
- 1
common.go
View File
@ -84,7 +84,6 @@ type MpOpenidRes struct {
type
MpUserInfoReq
struct
{
AccessToken
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
.
AccessToken
=
accessToken
data
.
Openid
=
openId
data
.
Lang
=
"zh_CN"
data_json
,
err
:=
json
.
Marshal
(
data
)
if
err
!=
nil
{
Write
Preview
Loading…
Cancel
Save