From da794baa96a27c90a44ebb5eae5d16e609f0f782 Mon Sep 17 00:00:00 2001 From: tpingzhang <635929049@qq.com> Date: Mon, 25 Nov 2019 10:22:16 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E5=86=99=E5=88=B0=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/Controller/ToolController.class.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Application/Admin/Controller/ToolController.class.php b/Application/Admin/Controller/ToolController.class.php index 449d853ef..8620da5a9 100644 --- a/Application/Admin/Controller/ToolController.class.php +++ b/Application/Admin/Controller/ToolController.class.php @@ -344,7 +344,9 @@ class ToolController extends ThinkController { M('tool', 'tab_')->where([ 'name' => 'age' ])->save([ - 'config' => $ageConfigJson + 'config' => $ageConfigJson, + 'type' => 1, + 'status' => $config['status'] ]); }