This commit is contained in:
xman 2025-06-12 17:00:14 +08:00
parent 37aa209c0c
commit cc4a15e2fe

View File

@ -97,7 +97,7 @@ class OrderLogic
Db::startTrans();
try {
if (is_null($remark)){
$remark = '师傅超时未接单,任务取消';
$remark = '师傅'.$dispatch->worker_name.'超时未接单,任务取消';
}
$this->cancelOrderDispatch($dispatch,null,$remark);
Db::commit();
@ -145,7 +145,7 @@ class OrderLogic
$params['order'] = $order;
$params['role'] = 1;
$params['auth'] = $auth;
$params['remark'] = '任务被取消[ID' . $dispatch->id . '],订单状态回退';
$params['remark'] = '任务被取消,订单状态回退';
if (!empty($remark)) {
$params['remark'] .= ',备注:' . $remark;
}