|
@@ -14,7 +14,8 @@ import ( |
|
|
"xorm.io/xorm" |
|
|
"xorm.io/xorm" |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
/*** |
|
|
|
|
|
|
|
|
/* |
|
|
|
|
|
** |
|
|
master_id 站长id |
|
|
master_id 站长id |
|
|
provider 渠道 |
|
|
provider 渠道 |
|
|
gid 商品id |
|
|
gid 商品id |
|
@@ -74,6 +75,11 @@ func ChainTransfer(eg *xorm.Engine, officialEg, zhimengEg *xorm.Engine, args map |
|
|
if curls.Tkl != "" { |
|
|
if curls.Tkl != "" { |
|
|
curls.TaoBaoWord = 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["url"] = curls.ShortenURL |
|
|
res["word"] = curls.TaoBaoWord |
|
|
res["word"] = curls.TaoBaoWord |
|
|
case md.PVD_JDS: |
|
|
case md.PVD_JDS: |
|
|