Browse Source

抖音穿山甲

master
huangjiajun 9 months ago
parent
commit
7f49bbf691
1 changed files with 12 additions and 12 deletions
  1. +12
    -12
      chain_transfer/svc/svc_turnchain.go

+ 12
- 12
chain_transfer/svc/svc_turnchain.go View File

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


Loading…
Cancel
Save