From c79f303fac1bcbab0e3252fe1230c48e4e285872 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Fri, 9 Sep 2022 16:48:36 +0800 Subject: [PATCH] =?UTF-8?q?add=20reverse:for=20v1.0.9=20=E5=9B=A2=E9=95=BF?= =?UTF-8?q?=E5=95=86=E5=93=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tik_tok/svc_tik_tok_team.go | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/tik_tok/svc_tik_tok_team.go b/tik_tok/svc_tik_tok_team.go index 6e69024..eec405f 100644 --- a/tik_tok/svc_tik_tok_team.go +++ b/tik_tok/svc_tik_tok_team.go @@ -37,17 +37,21 @@ func Activity(args map[string]string) []TikTokActivity { } func ActivityProduct(args map[string]string) []TikTokGoods { //args = map[string]string{ - // "appkey": "7136155008692651560", - // "appSecret": "b132549f-f62c-491e-86f1-89af3658896a", - // "activity_id": "437153", - // "search_type": "0", - // "sort_type": "1", - // "page": "1", - // "count": "20", - // "status": "1", - // "acctoken": "ff1a797c-a088-47bf-8c31-9784fa630c5e", + // "appkey": "7136155008692651560", + // "appSecret": "b132549f-f62c-491e-86f1-89af3658896a", + // "activity_id": "437153", + // "search_type": "0", + // "sort_type": "1", + // "page": "1", + // "count": "1", + // "product_info": "3570614033394612291", + // "status": "1", + // "acctoken": "ff1a797c-a088-47bf-8c31-9784fa630c5e", //} params := map[string]interface{}{"status": args["status"], "activity_id": args["activity_id"], "search_type": args["search_type"], "sort_type": args["sort_type"], "page": args["page"], "count": args["count"]} + if args["product_info"] != "" { + params["product_info"] = args["product_info"] + } send, err := Send(args["appkey"], args["appSecret"], "alliance.colonelActivityProduct", params, args["acctoken"]) fmt.Println(send) fmt.Println(err)