Browse Source

更新

master
huangjiajun 1 year ago
parent
commit
43b1d085d2
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      tik_tok/svc_tik_tok_goods.go

+ 2
- 2
tik_tok/svc_tik_tok_goods.go View File

@@ -205,9 +205,9 @@ func GetKlGoods(args map[string]string) TikTokGoods {
func GetKlGoodsNew(args map[string]string) TikTokGoods { func GetKlGoodsNew(args map[string]string) TikTokGoods {
content, _ := php2go.Base64Decode(args["content"]) content, _ := php2go.Base64Decode(args["content"])
params := map[string]interface{}{"command": content} params := map[string]interface{}{"command": content}
send, err := Send(args["appkey"], args["appSecret"], "buyin.commonShareCommandParse", params, args["acctoken"])
send, err := Send(args["appkey"], args["appSecret"], "buyin.doukeCommandParseAndShare", params, args["acctoken"])
var goodsList = TikTokGoods{} var goodsList = TikTokGoods{}
product := gjson.Get(send, "data.common_share_command_parse_info.product_info").String()
product := gjson.Get(send, "data.command_info.product_info").String()
if err != nil || product == "" { if err != nil || product == "" {
return goodsList return goodsList
} }


Loading…
Cancel
Save