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