6
0
Fork 0

VipService

base
panliang 2026-05-29 21:13:48 +08:00
parent e5325a7bfe
commit 1b600a2277
1 changed files with 3 additions and 1 deletions

View File

@ -61,7 +61,9 @@ class VipService
$openid = 'oU7xS5UspzVvpPEBqKZuW6N9WXDg';
}
if (!$openid) {
throw new BizException('未找到用户的微信授权信息, 无法使用微信支付');
$exception = new BizException('未找到用户的微信授权信息, 无法使用微信支付');
$exception->status(401);
throw $exception;
}
$params = [
'body' => app_settings('app.app_name').'-会员-' . $userVip->name,