huangjiajun hace 1 año
padre
commit
a41bb43c1b
Se han modificado 1 ficheros con 10 adiciones y 3 borrados
  1. +10
    -3
      chain_transfer/chain_transfer.go

+ 10
- 3
chain_transfer/chain_transfer.go Ver fichero

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


Cargando…
Cancelar
Guardar