huangjiajun 1 anno fa
parent
commit
a6742e6d6e
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. +4
    -0
      tik_tok/svc_tik_tok_convert.go

+ 4
- 0
tik_tok/svc_tik_tok_convert.go Vedi 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 {


Caricamento…
Annulla
Salva