|
|
@@ -10,7 +10,10 @@ import ( |
|
|
|
|
|
|
|
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"]) |
|
|
|
fmt.Println(send) |
|
|
|
var data = map[string]interface{}{} |
|
|
|