diff --git a/tik_tok/svc_tik_tok_open_api.go b/tik_tok/svc_tik_tok_open_api.go index 439008f..3429632 100644 --- a/tik_tok/svc_tik_tok_open_api.go +++ b/tik_tok/svc_tik_tok_open_api.go @@ -60,6 +60,14 @@ func OpenRefreshAuth(args map[string]string) map[string]string { } return data } +func GetBuyinId(args map[string]interface{}) (string, error) { + fmt.Println(args) + params := map[string]interface{}{} + send, err := OpenSendApi("alliance/kol/buyin_id/?open_id="+zhios_third_party_utils.AnyToString(args["open_id"]), params, zhios_third_party_utils.AnyToString(args["acctoken"])) + fmt.Println(send) + fmt.Println(err) + return send, err +} //商品加橱窗 func OpenStoreAdd(args map[string]interface{}) (string, error) {