Browse Source

test

master
huangjiajun 1 year ago
parent
commit
a41bb43c1b
1 changed files with 10 additions and 3 deletions
  1. +10
    -3
      chain_transfer/chain_transfer.go

+ 10
- 3
chain_transfer/chain_transfer.go View File

@@ -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")


Loading…
Cancel
Save