huangjiajun 2 月之前
父節點
當前提交
f4f4c4d7e1
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      app/agent/hdl/hdl_base.go

+ 2
- 2
app/agent/hdl/hdl_base.go 查看文件

@@ -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…
取消
儲存