From 8e619b7d11511f7389dda49914d8c6bf5b13edd3 Mon Sep 17 00:00:00 2001 From: chenbo <709206448@qq.com> Date: Wed, 21 Feb 2024 17:25:48 +0800 Subject: [PATCH] add --- app/adminapi/controller/TaskController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/adminapi/controller/TaskController.php b/app/adminapi/controller/TaskController.php index 5fa47521..1f70e854 100644 --- a/app/adminapi/controller/TaskController.php +++ b/app/adminapi/controller/TaskController.php @@ -269,6 +269,7 @@ class TaskController extends BaseAdminController 'title' => $params['title'], 'content' => $params['content'], 'status' => $params['status'], + 'end_time' => strtotime($params['end_time']), 'update_time' => time(), ]; $task->save($arr);