Browse Source

修改获取小程序openid接口调用

master v0.2.2
guzeng 3 years ago
parent
commit
e7b20fb459
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      miniapp_openid.client.go

+ 1
- 1
miniapp_openid.client.go View File

@ -10,7 +10,7 @@ import (
"github.com/golang/protobuf/proto" "github.com/golang/protobuf/proto"
) )
func GetMiniAppOpenid(appid, secret, js_code string, url ...string) (*AccessTokenRes, error) {
func GetMiniAppOpenid(appid, secret, js_code string, url ...string) (*MiniAppOpenidRes, error) {
conn, err := rpc_server_conn(url...) conn, err := rpc_server_conn(url...)
if err != nil { if err != nil {


Loading…
Cancel
Save