base
parent
1686f2abf4
commit
ed5c3a5397
|
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue