feature: task notice

This commit is contained in:
zhuyu 2025-06-02 17:42:39 +08:00
parent f25f1bb262
commit 14c8801cba

View File

@ -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();