|
@@ -34,12 +34,13 @@ func GetKuaishouToken(args map[string]string) { |
|
|
/* |
|
|
/* |
|
|
|
|
|
|
|
|
*/ |
|
|
*/ |
|
|
func GetKuaishouRefreshToken(args map[string]string) { |
|
|
|
|
|
|
|
|
func GetKuaishouRefreshToken(args map[string]string) (string, error) { |
|
|
url := "https://openapi.kwaixiaodian.com/oauth2/refresh_token" |
|
|
url := "https://openapi.kwaixiaodian.com/oauth2/refresh_token" |
|
|
get, err := zhios_third_party_utils.CurlPost(url, args, nil) |
|
|
get, err := zhios_third_party_utils.CurlPost(url, args, nil) |
|
|
fmt.Println(url) |
|
|
fmt.Println(url) |
|
|
fmt.Println(string(get)) |
|
|
fmt.Println(string(get)) |
|
|
fmt.Println(err) |
|
|
fmt.Println(err) |
|
|
|
|
|
return string(get), err |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//https://open.kwaixiaodian.com/zone/docs/api?name=open.distribution.investment.activity.open.list&version=1 |
|
|
//https://open.kwaixiaodian.com/zone/docs/api?name=open.distribution.investment.activity.open.list&version=1 |
|
|