From 8cb630596751a96f7024ae90de34c5288f2347c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Tue, 18 Apr 2023 10:09:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GiiController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GiiController.php b/GiiController.php index fbab521..c989c90 100644 --- a/GiiController.php +++ b/GiiController.php @@ -68,7 +68,7 @@ namespace {$namespace}; } } else { $import = "use Exception; -use App\Form\\{$managerName}Form; +use " . (str_replace('Controller', 'Form', $namespace)) . "\\{$managerName}Form; use Kiri\Core\Str; use Kiri\Core\Json; use Kiri\Router\Base\Controller;