This commit is contained in:
chenbo 2024-02-21 17:25:48 +08:00
parent 6e8a9f3f94
commit 8e619b7d11
1 changed files with 1 additions and 0 deletions

View File

@ -269,6 +269,7 @@ class TaskController extends BaseAdminController
'title' => $params['title'], 'title' => $params['title'],
'content' => $params['content'], 'content' => $params['content'],
'status' => $params['status'], 'status' => $params['status'],
'end_time' => strtotime($params['end_time']),
'update_time' => time(), 'update_time' => time(),
]; ];
$task->save($arr); $task->save($arr);