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
增加调试解析openid
master
v0.3.3
guzeng
3 years ago
parent
712ffcffd7
commit
1270ae23c8
2 changed files
with
2 additions
and
2 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
common.go
+1
-1
miniapp_openid.client.go
+ 1
- 1
common.go
View File
@ -61,7 +61,7 @@ type MiniAppOpenidReq struct {
type
MiniAppOpenidRes
struct
{
type
MiniAppOpenidRes
struct
{
Openid
string
Openid
string
SessionKey
string
SessionKey
string
Unionid
string
Unionid
int
WxApiRes
WxApiRes
}
}
+ 1
- 1
miniapp_openid.client.go
View File
@ -46,7 +46,7 @@ func GetMiniAppOpenid(appid, secret, js_code string, url ...string) (*MiniAppOpe
res
:=
&
Response
{
}
res
:=
&
Response
{
}
err
=
conn
.
GetMiniAppOpenid
(
req
,
res
)
err
=
conn
.
GetMiniAppOpenid
(
req
,
res
)
log
.
Println
(
"err:"
,
err
)
if
err
!=
nil
{
if
err
!=
nil
{
return
nil
,
err
return
nil
,
err
}
}
Write
Preview
Loading…
Cancel
Save