Explorar el Código

唯品会

master
huangjiajun hace 4 meses
padre
commit
31f2b20459
Se han modificado 1 ficheros con 5 adiciones y 2 borrados
  1. +5
    -2
      chain_transfer/svc/svc_turnchain.go

+ 5
- 2
chain_transfer/svc/svc_turnchain.go Ver fichero

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


Cargando…
Cancelar
Guardar