From 3c4852e2abd30124ec250ae28c3d6d685086f4dc Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Mon, 1 Jul 2024 15:05:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=96=E9=9F=B3=E5=9B=A2=E9=95=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tik_tok/svc_tik_tok_open_api.go | 8 ++++++++ 1 file changed, 8 insertions(+) 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) {