From 8c744704a378de059ba2bc11f1d1f4d5ef6a67a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 11 Sep 2020 18:59:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Gii/Gii.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gii/Gii.php b/Gii/Gii.php index 0e6cb152..5286d8c9 100644 --- a/Gii/Gii.php +++ b/Gii/Gii.php @@ -60,7 +60,7 @@ class Gii if (empty($make)) { throw new Exception('构建类型不能为空~'); } - switch ($make) { + switch (strtolower($make)) { case 'task': $task = new GiiTask(); $task->setInput($this->input);