6
0
Fork 0
panliang 2026-06-29 18:58:39 +08:00
parent 1686f2abf4
commit ed5c3a5397
1 changed files with 1 additions and 1 deletions

View File

@ -360,7 +360,7 @@ class OfflineOrderService
throw new BizException("订单未支付"); throw new BizException("订单未支付");
} }
$userId = $order->user_id; $userId = $order->user_id;
$socialite = SocialiteUser::where('user_id', $userId)->where('type', SocialiteType::WechatMiniProgram)->first(); $socialite = SocialiteUser::where('user_id', $userId)->where('socialite_type', SocialiteType::WechatMiniProgram)->first();
if (!$socialite) { if (!$socialite) {
throw new BizException("未找到用户的openid"); throw new BizException("未找到用户的openid");
} }