diff --git a/chain_transfer/svc/svc_turnchain.go b/chain_transfer/svc/svc_turnchain.go index e4bacfd..8044518 100644 --- a/chain_transfer/svc/svc_turnchain.go +++ b/chain_transfer/svc/svc_turnchain.go @@ -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 {