From a41bb43c1b16da54d708de956a61cff7928329ab Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Tue, 27 Jun 2023 15:06:10 +0800 Subject: [PATCH] test --- chain_transfer/chain_transfer.go | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/chain_transfer/chain_transfer.go b/chain_transfer/chain_transfer.go index 33f16fb..7f89dc1 100644 --- a/chain_transfer/chain_transfer.go +++ b/chain_transfer/chain_transfer.go @@ -95,9 +95,16 @@ func ChainTransfer(eg *xorm.Engine, args map[string]string) map[string]string { return res } res["url"] = curls.ShortenURL - if curls.Content != "" && args["provider"] == md.PVD_TIKTOK { - res["word"] = curls.Content + if args["provider"] == md.PVD_KUAISHOU { + res["url"] = curls.NoOpenAppURL } + if args["provider"] == md.PVD_TIKTOK { + res["url"] = "" + if curls.Content != "" { + res["word"] = curls.Content + } + } + } return res } @@ -241,7 +248,7 @@ func ConvertUrl(eg *xorm.Engine, args map[string]string) (*md.ConvertedUrls, err thirdZmAppSecretData.Val, args["gid"], pid, - "", "", openId, "1") + "", "vendoapi", openId, "1") case md.PVD_PDD: pid := args["acc_pdd_self_id"] thirdZmAppKeyData, err := db.SysCfgGetOne(eg, "third_zm_app_key")