diff --git a/app/Service/v3/Implementations/SeparateAccountsService.php b/app/Service/v3/Implementations/SeparateAccountsService.php index 444ddf7..fe984a6 100644 --- a/app/Service/v3/Implementations/SeparateAccountsService.php +++ b/app/Service/v3/Implementations/SeparateAccountsService.php @@ -236,7 +236,7 @@ class SeparateAccountsService implements SeparateAccountsServiceInterface { // 线下订单支付完成 // 订单 - $orderMain = OrderMain::query()->where(['global_order_id' => $globalOrderId]); + $orderMain = OrderMain::query()->where(['global_order_id' => $globalOrderId])->first(); if (empty($orderMain)) { return false;