From d176d51c5ce357a1e00a43ae9b741fd096f7b3bb Mon Sep 17 00:00:00 2001 From: tpingzhang <635929049@qq.com> Date: Mon, 25 Nov 2019 10:20:07 +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 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Application/Admin/Controller/ToolController.class.php b/Application/Admin/Controller/ToolController.class.php index 6f177429b..449d853ef 100644 --- a/Application/Admin/Controller/ToolController.class.php +++ b/Application/Admin/Controller/ToolController.class.php @@ -339,6 +339,13 @@ class ToolController extends ThinkController { $data[$name] = $config; $configs=array_merge($configs,$data); $result = file_put_contents($config_file, "where([ + 'name' => 'age' + ])->save([ + 'config' => $ageConfigJson + ]); } public function ios_game(){