Browse Source

更新

master
huangjiajun 1 year ago
parent
commit
a6742e6d6e
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      tik_tok/svc_tik_tok_convert.go

+ 4
- 0
tik_tok/svc_tik_tok_convert.go View File

@@ -21,7 +21,11 @@ func GoodsCreatePid(args map[string]string) map[string]string {
return data
}
func GoodsConvertUrl(args map[string]string) (map[string]string, string) {

params := map[string]interface{}{"pid": args["pid"], "external_info": args["external_info"], "product_url": args["product_url"]}
if args["need_qr_code"] == "1" {
params["need_qr_code"] = "true"
}
send, err := Send(args["appkey"], args["appSecret"], "buyin.kolProductShare", params, args["acctoken"])
var data = map[string]string{}
if err != nil {


Loading…
Cancel
Save