From 7f49bbf691049595c46aefa5f7498328d02070c7 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Wed, 31 Jan 2024 14:08:12 +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 --- chain_transfer/svc/svc_turnchain.go | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/chain_transfer/svc/svc_turnchain.go b/chain_transfer/svc/svc_turnchain.go index 8044518..5000483 100644 --- a/chain_transfer/svc/svc_turnchain.go +++ b/chain_transfer/svc/svc_turnchain.go @@ -917,21 +917,21 @@ func getFirstTikTokGoodsKl(eg *xorm.Engine, officialEg *xorm.Engine, dbName stri } else { itemData, err = zhimeng.TikTokGoodsKlNew(postData) } - if err != nil || itemData == nil || itemData.GoodsID == "" { - itemData, err = CsjpGoodsKlNew(eg, officialEg, dbName, postData) - isCsjp = "1" - } + //if err != nil || itemData == nil || itemData.GoodsID == "" { + // itemData, err = CsjpGoodsKlNew(eg, officialEg, dbName, postData) + // isCsjp = "1" + //} } else { itemData, err = CsjpGoodsKlNew(eg, officialEg, dbName, postData) isCsjp = "1" - if err != nil || itemData == nil || itemData.GoodsID == "" { - if zhios_third_party_utils.InArr(tikTokBase.AuthType, []string{"2", "3"}) { - itemData, err = tik_tok.OwnTikTokGoodsKlNew(tikTokBase, postData) - } else { - itemData, err = zhimeng.TikTokGoodsKlNew(postData) - } - isCsjp = "0" - } + //if err != nil || itemData == nil || itemData.GoodsID == "" { + // if zhios_third_party_utils.InArr(tikTokBase.AuthType, []string{"2", "3"}) { + // itemData, err = tik_tok.OwnTikTokGoodsKlNew(tikTokBase, postData) + // } else { + // itemData, err = zhimeng.TikTokGoodsKlNew(postData) + // } + // isCsjp = "0" + //} } if itemData != nil { itemData.IsCsjp = isCsjp