huangjiajun pirms 1 gada
vecāks
revīzija
c738de5e79
2 mainītis faili ar 3 papildinājumiem un 2 dzēšanām
  1. +2
    -2
      chain_transfer/chain_transfer.go
  2. +1
    -0
      md/provider.go

+ 2
- 2
chain_transfer/chain_transfer.go Parādīt failu

@@ -78,7 +78,7 @@ func ChainTransfer(eg *xorm.Engine, args map[string]string) map[string]string {
}
res["url"] = curls.ShortenURL
res["word"] = curls.TaoBaoWord
case md.PVD_JD:
case md.PVD_JDS:

case md.PVD_TIKTOK, md.PVD_KUAISHOU:
// 分享
@@ -150,7 +150,7 @@ func ConvertUrl(eg *xorm.Engine, args map[string]string) (*md.ConvertedUrls, err
urls.NewPid = promoId1
}
}
case md.PVD_JD:
case md.PVD_JDS:
thirdZmAppKeyData, err := db.SysCfgGetOne(eg, "third_zm_app_key")
if thirdZmAppKeyData == nil || err != nil {
return urls, err


+ 1
- 0
md/provider.go Parādīt failu

@@ -8,6 +8,7 @@ const (
PVD_TIKTOKLIVE = "tikTok_live"
PVD_KUAISHOULIVE = "kuaishou_live"
PVD_JD = "jdSdk"
PVD_JDS = "jd"
PVD_SN = "suning"
PVD_VIP = "vip"
PVD_PDD = "pdd"


Notiek ielāde…
Atcelt
Saglabāt