Browse Source

add reverse:for v1.1.5 抖音接口

tags/v1.1.5
huangjiajun 2 years ago
parent
commit
931ffb012b
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      tik_tok/svc_tik_tok_order.go

+ 4
- 1
tik_tok/svc_tik_tok_order.go View File

@@ -10,7 +10,10 @@ import (


func GoodsOrder(args map[string]string) map[string]interface{} { func GoodsOrder(args map[string]string) map[string]interface{} {


params := map[string]interface{}{"size": args["size"], "cursor": args["cursor"], "start_time": args["start_time"], "end_time": args["end_time"], "distribution_type": "ProductDetail"}
params := map[string]interface{}{"time_type": args["time_type"], "size": args["size"], "cursor": args["cursor"], "start_time": args["start_time"], "end_time": args["end_time"], "distribution_type": "ProductDetail"}
if args["distribution_type"] != "" {
params["distribution_type"] = args["distribution_type"]
}
send, err := Send(args["appkey"], args["appSecret"], "buyin.kolOrderAds", params, args["acctoken"]) send, err := Send(args["appkey"], args["appSecret"], "buyin.kolOrderAds", params, args["acctoken"])
fmt.Println(send) fmt.Println(send)
var data = map[string]interface{}{} var data = map[string]interface{}{}


Loading…
Cancel
Save