增加日志
This commit is contained in:
parent
6316ce0128
commit
14923603b0
|
@ -380,6 +380,7 @@ class SpiderMt extends Command
|
|||
try {
|
||||
$admin_id = $this->poolUser($order->orderStatus, $order->category_desc);
|
||||
} catch (\Exception $exception) {
|
||||
Log::info(sprintf('mt create order fail:%s, order_id:%s', $exception->getMessage(), $order->sn));
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
@ -400,7 +401,7 @@ class SpiderMt extends Command
|
|||
if ($work) {
|
||||
$order->live_room_work_id = $work->id;
|
||||
}
|
||||
//var_dump($order->toArray());
|
||||
Log::info(sprintf('mt create order success order_id:%s', $order->sn));
|
||||
//新获得一个用户的,提示管理员有新的订单
|
||||
Redis::incrBy('CRM:USER:ONLINE:NEW:' . $admin_id, 1);
|
||||
$item = new Orders();
|
||||
|
|
Loading…
Reference in New Issue