Browse Source

add reverse:for v1.0.9 团长商品调整

tags/v1.0.9
huangjiajun 2 years ago
parent
commit
c79f303fac
1 changed files with 13 additions and 9 deletions
  1. +13
    -9
      tik_tok/svc_tik_tok_team.go

+ 13
- 9
tik_tok/svc_tik_tok_team.go View File

@@ -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)


Loading…
Cancel
Save