From fd5929e09c57f53b1578e9cdbd20b7f85da5e211 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Wed, 16 Oct 2024 14:08:15 +0800 Subject: [PATCH] 1 --- chain_transfer/chain_transfer.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/chain_transfer/chain_transfer.go b/chain_transfer/chain_transfer.go index 3fb73d6..35ed21b 100644 --- a/chain_transfer/chain_transfer.go +++ b/chain_transfer/chain_transfer.go @@ -14,7 +14,8 @@ import ( "xorm.io/xorm" ) -/*** +/* +** master_id 站长id provider 渠道 gid 商品id @@ -74,6 +75,11 @@ func ChainTransfer(eg *xorm.Engine, officialEg, zhimengEg *xorm.Engine, args map if curls.Tkl != "" { curls.TaoBaoWord = curls.Tkl } + taokou := &md.TaobaoWord{ + Text: curls.Tkl, + Code: curls.ShortTkl, + } + curls.TaoBaoWord = svc.WordDeal(eg, args["master_id"], taokou) res["url"] = curls.ShortenURL res["word"] = curls.TaoBaoWord case md.PVD_JDS: