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