feature: task notice
This commit is contained in:
parent
f25f1bb262
commit
14c8801cba
|
|
@ -253,12 +253,13 @@ class Task extends Backend
|
|||
}
|
||||
|
||||
$execAdminId = $row['exec_admin_id'];
|
||||
$typeText = $this->model->getTypeList()[$row['type']];
|
||||
|
||||
Message::create([
|
||||
'to_id' => $execAdminId,
|
||||
'type' => 1,
|
||||
'title' => '完成任务提醒',
|
||||
'content' => "【完成任务提醒】:您有一条{$row['title']}的任务还未完成,请立即处理!"
|
||||
'content' => "您有一条{$typeText}【{$row['title']}】任务未完成,请立即处理!"
|
||||
]);
|
||||
|
||||
$this->success();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user