feat : check
This commit is contained in:
@@ -65,7 +65,7 @@ class CheckService extends CateringBaseService
|
|||||||
->where('cycle_id', $this->cycleId)
|
->where('cycle_id', $this->cycleId)
|
||||||
->where('type',OrderCode::ORDER_TYPE_MEAL)
|
->where('type',OrderCode::ORDER_TYPE_MEAL)
|
||||||
->where('status',OrderCode::PAYED)
|
->where('status',OrderCode::PAYED)
|
||||||
->pluck('order_id')
|
->pluck('id')
|
||||||
->toArray();
|
->toArray();
|
||||||
|
|
||||||
if (empty($orderIds)) throw new ErrException('数据错误');
|
if (empty($orderIds)) throw new ErrException('数据错误');
|
||||||
|
|||||||
Reference in New Issue
Block a user