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