Browse Source

抖音穿山甲

master
huangjiajun 10 months ago
parent
commit
881d830c61
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      chain_transfer/svc/svc_turnchain.go

+ 7
- 0
chain_transfer/svc/svc_turnchain.go View File

@@ -62,6 +62,10 @@ func TurnChainFeatures(eg *xorm.Engine, officialEg *xorm.Engine, tikTokBase map[
ex := strings.Split(goodsId, "cid")
goodsId = ex[0]
}
tikTokFirstGoods := db.SysCfgGetWithDb(eg, dbName, "tik_tok_first_goods")
if tikTokFirstGoods == "1" {
goodsId += "csjp"
}
tikTokBase["gid"] = goodsId
urls, err = TikTokTurnChain(eg, officialEg, dbName, tikTokBase)
case md.PVD_TB, md.PVD_TM:
@@ -993,6 +997,9 @@ func CheckTikTokWord(eg *xorm.Engine, officialEg *xorm.Engine, dbName, s string,
args["gid"] = itemData.GoodsID
args["master_id"] = dbName
args["provider"] = provider
if isCsjp == "1" {
args["provider"] = "csjp"
}
args["uid"] = zhios_third_party_utils.IntToStr(user.Uid)
convertUrl, err := ConvertUrl(eg, officialEg, args)
if err == nil && convertUrl != nil {


Loading…
Cancel
Save