From f9307ee710e18df6a3e652a4f4e7a5ceac03a36b Mon Sep 17 00:00:00 2001 From: tpingzhang <635929049@qq.com> Date: Mon, 25 Nov 2019 10:54:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8E=E5=8F=B0=E9=98=B2=E6=B2=89=E8=BF=B7?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/Controller/ToolController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Admin/Controller/ToolController.class.php b/Application/Admin/Controller/ToolController.class.php index ee888c619..58cb75272 100644 --- a/Application/Admin/Controller/ToolController.class.php +++ b/Application/Admin/Controller/ToolController.class.php @@ -346,7 +346,7 @@ class ToolController extends ThinkController { ])->save([ 'config' => $ageConfigJson, 'type' => 1, - 'status' => $config['status'] ? $config['status'] : $config['bat']; + 'status' => $config['status'] ? $config['status'] : $config['bat'] ]); }