Browse Source

update

add_mode
DengBiao 1 year ago
parent
commit
a2e00f88ca
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/customer/svc/svc_pay.go

+ 1
- 1
app/customer/svc/svc_pay.go View File

@@ -72,7 +72,7 @@ func BuyPackage(c *gin.Context, req md.BuyPackageReq) (outTradeNo, tradeNo, tota
//4、请求 alipay.trade.create(统一收单交易创建接口)
sysCfgDb := db.SysCfgDb{}
sysCfgDb.Set()
sysCfg := sysCfgDb.SysCfgFindWithDb(enum2.OpenAppletAppid, enum2.OpenAlipayAppid, enum2.OpenAlipayAppPrivateKey, enum2.OpenAlipayPublicKey, enum2.JsapiPayAppAutToken)
sysCfg := sysCfgDb.SysCfgFindWithDb(enum2.OpenAppletAppid, enum2.OpenAlipayAppid, enum2.OpenAlipayAppPrivateKey, enum2.OpenAlipayPublicKey, enum2.JsapiPayAppAutToken, enum2.JsapiPayNotifyUrl)
err, resp := CurlAlipayTradeCreate(md.CurlAlipayTradeCreateReq{
Config: struct {
PayAliAppId string `json:"pay_ali_app_id" label:"支付宝开放平台-第三方应用-appid"`


Loading…
Cancel
Save