diff --git a/chain_transfer/chain_transfer.go b/chain_transfer/chain_transfer.go index c954068..713aa06 100644 --- a/chain_transfer/chain_transfer.go +++ b/chain_transfer/chain_transfer.go @@ -87,6 +87,7 @@ func ChainTransfer(eg *xorm.Engine, officialEg *xorm.Engine, args map[string]str case md.PVD_JDS: case md.PVD_TIKTOK, md.PVD_KUAISHOU, "csjp": + args["provider"] = "csjp" // 分享 if args["provider"] == md.PVD_TIKTOK || args["provider"] == "csjp" { args["coupon_url"] = "https://haohuo.jinritemai.com/views/product/item2?id=" + args["gid"] diff --git a/chain_transfer/svc/svc_turnchain.go b/chain_transfer/svc/svc_turnchain.go index 5000483..9d3d9c5 100644 --- a/chain_transfer/svc/svc_turnchain.go +++ b/chain_transfer/svc/svc_turnchain.go @@ -62,10 +62,7 @@ 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" - } + goodsId += "csjp" tikTokBase["gid"] = goodsId urls, err = TikTokTurnChain(eg, officialEg, dbName, tikTokBase) case md.PVD_TB, md.PVD_TM: