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