From f4f4c4d7e1a12512cc749fdd6d77ef9ba3e127e4 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Mon, 23 Sep 2024 15:35:10 +0800 Subject: [PATCH] 1 --- app/agent/hdl/hdl_base.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/agent/hdl/hdl_base.go b/app/agent/hdl/hdl_base.go index 9ba144e..377c7ad 100644 --- a/app/agent/hdl/hdl_base.go +++ b/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