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