Browse Source

增加调试解析openid

master v0.3.3
guzeng 3 years ago
parent
commit
1270ae23c8
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      common.go
  2. +1
    -1
      miniapp_openid.client.go

+ 1
- 1
common.go View File

@ -61,7 +61,7 @@ type MiniAppOpenidReq struct {
type MiniAppOpenidRes struct {
Openid string
SessionKey string
Unionid string
Unionid int
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{}
err = conn.GetMiniAppOpenid(req, res)
log.Println("err:", err)
if err != nil {
return nil, err
}


Loading…
Cancel
Save