Parcourir la source

抖音穿山甲

master
huangjiajun il y a 9 mois
Parent
révision
7f49bbf691
1 fichiers modifiés avec 12 ajouts et 12 suppressions
  1. +12
    -12
      chain_transfer/svc/svc_turnchain.go

+ 12
- 12
chain_transfer/svc/svc_turnchain.go Voir le fichier

@@ -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


Chargement…
Annuler
Enregistrer