huangjiajun 3 months ago
parent
commit
f4f4c4d7e1
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      app/agent/hdl/hdl_base.go

+ 2
- 2
app/agent/hdl/hdl_base.go View File

@@ -82,8 +82,8 @@ func AlipayBase(c *gin.Context) {
info, _ := db.UserThirdPartyFindByID(svc.MasterDb(c), user.Info.Uid)
var res = md.AlipayPay{}
if info != nil {
res.PayAliNewAppId = gjson.Get(info.WechatPayInfo, "pay_ali_new_app_id").String()
res.PayAliNewPrivateKey = gjson.Get(info.WechatPayInfo, "pay_ali_new_private_key").String()
res.PayAliNewAppId = gjson.Get(info.AlipayPayInfo, "pay_ali_new_app_id").String()
res.PayAliNewPrivateKey = gjson.Get(info.AlipayPayInfo, "pay_ali_new_private_key").String()
}
e.OutSuc(c, res, nil)
return


Loading…
Cancel
Save