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