瀏覽代碼

更新

master
huangjiajun 1 年之前
父節點
當前提交
6eb7e7d5c6
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      tik_tok/svc_tik_tok_goods.go

+ 2
- 2
tik_tok/svc_tik_tok_goods.go 查看文件

@@ -207,8 +207,8 @@ func GetKlGoodsNew(args map[string]string) TikTokGoods {
params := map[string]interface{}{"command": content}
send, err := Send(args["appkey"], args["appSecret"], "buyin.doukeCommandParseAndShare", params, args["acctoken"])
var goodsList = TikTokGoods{}
commandType := gjson.Get(send, "data.command_type").Int()
if commandType == 4 {
ActivityId := gjson.Get(send, "data.command_info.activity_info.material_id").Int()
if ActivityId > 0 {
goodsList.ActivityId = zhios_third_party_utils.Int64ToStr(gjson.Get(send, "data.command_info.activity_info.material_id").Int())
return goodsList
}


Loading…
取消
儲存