diff --git a/pdd_union/auth_url.go b/pdd_union/auth_url.go new file mode 100644 index 0000000..1cc5733 --- /dev/null +++ b/pdd_union/auth_url.go @@ -0,0 +1,11 @@ +package pdd_union + +import ( + zhios_third_party_utils "code.fnuoos.com/go_rely_warehouse/zyos_go_third_party_api.git/utils" + "github.com/tidwall/gjson" +) + +func CheckAuthUrl(keyArr map[string]string, param map[string]interface{}) string { + send, _ := Send(keyArr, "pdd.ddk.oauth.member.authority.query", param) + return zhios_third_party_utils.Int64ToStr(gjson.Get(send, "authority_query_response.bind").Int()) +}