完成订单重构
This commit is contained in:
parent
d5050f0dd0
commit
fa33ccd504
|
|
@ -127,7 +127,7 @@ class OrderLogic
|
|||
public function cancelOrderDispatch(OrderDispatch $dispatch,$auth=null,$remark='',$nocancelOrder=true)
|
||||
{
|
||||
//取消
|
||||
$dispatch->allowField(true)->save(['status' => OrderDispatch::STATUS_CANCEL, 'follow'=>0,'remark' => $remark]);
|
||||
$dispatch->allowField(true)->save(['status' => OrderDispatch::STATUS_CANCEL, 'follow'=>2,'remark' => $remark]);
|
||||
|
||||
$hookParams = [
|
||||
'dispatch' => $dispatch,
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ class CheckOrdeRecordCommand extends Command
|
|||
'to_id' => $dispatch->admin_id,
|
||||
'type' => 1,
|
||||
'title' => '派单任务跟进提醒',
|
||||
'content' => '订单编号:'.$dispatch->orderb->order_no.',请及时关注。'
|
||||
'content' => '您有一条待跟进订单,订单编号:'.$dispatch->orderb->order_no.',请及时关注。'
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user