Browse Source

唯品会

master
huangjiajun 4 months ago
parent
commit
31f2b20459
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      chain_transfer/svc/svc_turnchain.go

+ 5
- 2
chain_transfer/svc/svc_turnchain.go View File

@@ -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"])


Loading…
Cancel
Save