sth
This commit is contained in:
parent
ace5bd7f36
commit
d0efa47ab3
|
|
@ -35,6 +35,8 @@ class OrderDispatchLog
|
||||||
];
|
];
|
||||||
\app\admin\model\OrderDispatchLog::create($data);
|
\app\admin\model\OrderDispatchLog::create($data);
|
||||||
|
|
||||||
|
|
||||||
|
if(!isset($dispatch->from_record)){ //不是来自于跟进
|
||||||
if($dispatch->status == OrderDispatch::STATUS_TOGET)
|
if($dispatch->status == OrderDispatch::STATUS_TOGET)
|
||||||
{
|
{
|
||||||
$alibaba_dyvms = config('alibaba_dyvms');
|
$alibaba_dyvms = config('alibaba_dyvms');
|
||||||
|
|
@ -65,6 +67,7 @@ class OrderDispatchLog
|
||||||
SendMailLogic::sendToCustomStart($Order->tel,$dispatch->worker_name,$dispatch->worker_tel);
|
SendMailLogic::sendToCustomStart($Order->tel,$dispatch->worker_name,$dispatch->worker_tel);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}catch (Exception $exception){
|
}catch (Exception $exception){
|
||||||
echo $exception->getMessage();
|
echo $exception->getMessage();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -140,6 +140,7 @@ class Dispatchrecord extends Backend
|
||||||
|
|
||||||
$dispatch->admin_user = $groupName.':'. $this->auth->nickname;
|
$dispatch->admin_user = $groupName.':'. $this->auth->nickname;
|
||||||
$dispatch->record_images = $params['images'];
|
$dispatch->record_images = $params['images'];
|
||||||
|
$dispatch->from_record = $params['images'];
|
||||||
$hookParams = [
|
$hookParams = [
|
||||||
'dispatch' => $dispatch,
|
'dispatch' => $dispatch,
|
||||||
'remark' => '跟进订单,跟进内容:'.$params['remark'],
|
'remark' => '跟进订单,跟进内容:'.$params['remark'],
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user