From 31f2b20459c8538b4c77175929a5dfb620b1ee48 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Tue, 30 Jul 2024 09:22:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=94=AF=E5=93=81=E4=BC=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- chain_transfer/svc/svc_turnchain.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/chain_transfer/svc/svc_turnchain.go b/chain_transfer/svc/svc_turnchain.go index 7f08560..edea5c2 100644 --- a/chain_transfer/svc/svc_turnchain.go +++ b/chain_transfer/svc/svc_turnchain.go @@ -576,10 +576,13 @@ func CheckTaobaoWordGetTkl(eg *xorm.Engine, dbName string, s string, args map[st } s1 := s itemInfo, err := taobaoSdk.ItemDetailByLink(s1, bizSceneId) - if itemInfo == nil || err != nil { + if itemInfo != nil { + return "", zhios_third_party_utils.AnyToString(itemInfo.ItemID), "" + } + if (itemInfo == nil || err != nil) && strings.Contains(s, "s.click.taobao.com") == false { return "", "", "" } - return "", zhios_third_party_utils.AnyToString(itemInfo.ItemID), "" + } urls, _ := taobaoSdk.WnConvertUrlSC(s, "2", taobaoSdk.CloudPromoIdWeb, args["acc_taobao_share_id"])