接单成功
This commit is contained in:
parent
b59216e941
commit
282758e23a
|
|
@ -51,9 +51,16 @@ class OrderDispatchLog
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if($dispatch->status == OrderDispatch::STATUS_GOTIT){
|
if($dispatch->type == 2){
|
||||||
$Order = Order::get($dispatch->order_id);
|
if($dispatch->status == OrderDispatch::STATUS_GOTIT){
|
||||||
SendMailLogic::sendToCustomStart($Order->tel,$dispatch->worker_name,$dispatch->worker_tel);
|
$Order = Order::get($dispatch->order_id);
|
||||||
|
SendMailLogic::sendToCustomStart($Order->tel,$dispatch->worker_name,$dispatch->worker_tel);
|
||||||
|
}
|
||||||
|
}elseif($dispatch->type == 1){
|
||||||
|
if($dispatch->status == OrderDispatch::STATUS_TOGET){
|
||||||
|
$Order = Order::get($dispatch->order_id);
|
||||||
|
SendMailLogic::sendToCustomStart($Order->tel,$dispatch->worker_name,$dispatch->worker_tel);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}catch (Exception $exception){
|
}catch (Exception $exception){
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user