From 48cf26ce1f3a72aa1c003d937b8c8836a57ee057 Mon Sep 17 00:00:00 2001 From: zhaocheng <578322713@qq.com> Date: Wed, 31 Aug 2022 15:35:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E5=A2=9E=E5=8A=A0=E9=87=8D?= =?UTF-8?q?=E5=A4=8D=E6=A3=80=E6=B5=8B=E8=B0=83=E8=AF=952?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/Task.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controller/Task.php b/app/controller/Task.php index e1387e4..fadbcfe 100644 --- a/app/controller/Task.php +++ b/app/controller/Task.php @@ -108,7 +108,6 @@ class Task extends BaseController public function save() { $params = $this->request->param(); - Cache::set($cache_name, 1, 60); $type = $this->request->param('task_type', '0'); $original_filename = $this->request->param('original_filename'); $filename = $this->request->param('filename'); @@ -282,6 +281,7 @@ class Task extends BaseController $this->json_data['msg'] = '表单已提交,请勿重复操作'; return json($this->json_data); } + Cache::set($cache_name, 1, 60); $action = [ '1'=>'import', '2'=>'export',