This commit is contained in:
xman 2025-06-02 18:37:45 +08:00
commit 77db49e9f6

View File

@ -253,12 +253,13 @@ class Task extends Backend
} }
$execAdminId = $row['exec_admin_id']; $execAdminId = $row['exec_admin_id'];
$typeText = $this->model->getTypeList()[$row['type']];
Message::create([ Message::create([
'to_id' => $execAdminId, 'to_id' => $execAdminId,
'type' => 1, 'type' => 1,
'title' => '完成任务提醒', 'title' => '完成任务提醒',
'content' => "【完成任务提醒】:您有一条{$row['title']}的任务还未完成,请立即处理!" 'content' => "您有一条{$typeText}{$row['title']}】任务未完成,请立即处理!"
]); ]);
$this->success(); $this->success();