From 0764ca9ccaebb9e07ddcb5443297f6ac0089b497 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Tue, 30 Jan 2024 18:01:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=96=E9=9F=B3=E7=A9=BF=E5=B1=B1=E7=94=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- csjplatform/keyword.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/csjplatform/keyword.go b/csjplatform/keyword.go index 310785e..764a39d 100644 --- a/csjplatform/keyword.go +++ b/csjplatform/keyword.go @@ -28,12 +28,12 @@ func Keyword(args map[string]string) tik_tok.TikTokGoods { fmt.Println(send) fmt.Println(err) var goodsList = tik_tok.TikTokGoods{} - ActivityId := gjson.Get(send, "data.command_info.activity_info.material_id").Int() + ActivityId := gjson.Get(send, "data.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 } - product := gjson.Get(send, "data.command_info.product_info").String() + product := gjson.Get(send, "data.product_info").String() if err != nil || product == "" { return goodsList }