自动派单
This commit is contained in:
parent
d1a8960ef6
commit
ca88afd647
|
|
@ -46,7 +46,7 @@ class CheckOrderDispatchGotCommand extends Command
|
||||||
$OrderLogic->noWorkerCanGetIt($item);
|
$OrderLogic->noWorkerCanGetIt($item);
|
||||||
//自动重派新单
|
//自动重派新单
|
||||||
$order = Order::get($item->order_id);
|
$order = Order::get($item->order_id);
|
||||||
AutoDispatchLogic::autoDispatch($order,$order->admin_id);
|
AutoDispatchLogic::autoDispatch($order);
|
||||||
echo 'succ:' . $item->id . PHP_EOL;
|
echo 'succ:' . $item->id . PHP_EOL;
|
||||||
} catch (Exception $exception) {
|
} catch (Exception $exception) {
|
||||||
echo $exception->getMessage() . PHP_EOL;
|
echo $exception->getMessage() . PHP_EOL;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user