From 7baa915088b8ca8ab9d2c20d5bfefc065e76e176 Mon Sep 17 00:00:00 2001 From: dengbiao Date: Sat, 14 Dec 2024 18:39:18 +0800 Subject: [PATCH] update --- app/hdl/hdl_wallet.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/hdl/hdl_wallet.go b/app/hdl/hdl_wallet.go index 6250126..7cef710 100644 --- a/app/hdl/hdl_wallet.go +++ b/app/hdl/hdl_wallet.go @@ -182,6 +182,10 @@ func WithdrawApply(c *gin.Context) { e.OutErr(c, e.ERR, "支付宝用户信息未授权") return } + if aliInfo.OpenId != "" { + e.OutErr(c, e.ERR, "支付宝用户授权信息有误") + return + } //appId = sysCfgMap[enum.AlipayAppId] userId = aliInfo.UserId openId = aliInfo.OpenId