|
|
@@ -46,7 +46,7 @@ class AutomaticDispatch extends Command
|
|
|
protected function execute(Input $input, Output $output)
|
|
|
{
|
|
|
//自动派单
|
|
|
- //$this->autoDispatch();
|
|
|
+ $this->autoDispatch();
|
|
|
|
|
|
//执行外呼任务
|
|
|
$h = date('H');
|
|
|
@@ -235,7 +235,7 @@ class AutomaticDispatch extends Command
|
|
|
'properties' => [
|
|
|
'订单号' => substr($item['work_sn'], -4),
|
|
|
'详细地址'=>$item['address'],
|
|
|
- '服务类型'=> isset($this->categoryType[$item['category_type']]) ?? '',
|
|
|
+ '服务类型'=> isset($this->categoryType[$item['category_type']]) ? $this->categoryType[$item['category_type']] : '',
|
|
|
'客户手机号'=>$item['mobile']
|
|
|
]
|
|
|
];
|
|
|
@@ -329,7 +329,7 @@ class AutomaticDispatch extends Command
|
|
|
'properties' => [
|
|
|
'订单号' => substr($item['work_sn'], -4),
|
|
|
'详细地址'=>$item['address'],
|
|
|
- '服务类型'=> isset($this->categoryType[$item['category_type']]) ?? '',
|
|
|
+ '服务类型'=> isset($this->categoryType[$item['category_type']]) ? $this->categoryType[$item['category_type']] : '',
|
|
|
'客户手机号'=>$item['mobile']
|
|
|
]
|
|
|
];
|