|
|
@@ -216,7 +216,7 @@ class LiveOrderController extends BaseController
|
|
|
}
|
|
|
$orderSn = $live->orderSn ?? '';
|
|
|
$liveCustomList = LiveOrderCustomClass::getAllByCondition(['orderSn' => $orderSn], null, '*');
|
|
|
- if (empty($customList)) {
|
|
|
+ if (empty($liveCustomList)) {
|
|
|
util::fail('没有客户预订');
|
|
|
}
|
|
|
$ids = array_column($liveCustomList, 'customId');
|