From ed5c3a539720c2abae39fdf45f856717e16101d6 Mon Sep 17 00:00:00 2001 From: panliang <1163816051@qq.com> Date: Mon, 29 Jun 2026 18:58:39 +0800 Subject: [PATCH] 1 --- app/Services/OfflineOrderService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/OfflineOrderService.php b/app/Services/OfflineOrderService.php index 940bb62d..1f53967e 100644 --- a/app/Services/OfflineOrderService.php +++ b/app/Services/OfflineOrderService.php @@ -360,7 +360,7 @@ class OfflineOrderService throw new BizException("订单未支付"); } $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) { throw new BizException("未找到用户的openid"); }