From 2d6b2f8bf6e2bd8c645dc9c1990d13f4e5aceec4 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Fri, 23 Sep 2022 22:56:39 +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 --- Gii.php | 8 ++++---- GiiBase.php | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Gii.php b/Gii.php index 03ba189..2f73b4f 100644 --- a/Gii.php +++ b/Gii.php @@ -28,11 +28,11 @@ class Gii private InputInterface $input; - public string $modelPath = APP_PATH . 'models/'; - public string $modelNamespace = 'app\Model\\'; + public string $modelPath = APP_PATH . 'app/Model/'; + public string $modelNamespace = 'App\Model\\'; - public string $controllerPath = APP_PATH . 'controllers/'; - public string $controllerNamespace = 'app\\Controller\\'; + public string $controllerPath = APP_PATH . 'app/Controller/'; + public string $controllerNamespace = 'App\\Controller\\'; public static array $createSqls = []; diff --git a/GiiBase.php b/GiiBase.php index a7d970f..e0063dd 100644 --- a/GiiBase.php +++ b/GiiBase.php @@ -25,11 +25,11 @@ abstract class GiiBase protected InputInterface $input; - public string $modelPath = APP_PATH . 'models/'; - public string $modelNamespace = 'app\Model\\'; + public string $modelPath = APP_PATH . 'app/Model/'; + public string $modelNamespace = 'App\Model\\'; - public string $controllerPath = APP_PATH . 'controllers/'; - public string $controllerNamespace = 'app\\Controller\\'; + public string $controllerPath = APP_PATH . 'app/Controller/'; + public string $controllerNamespace = 'App\\Controller\\'; public ?string $module = null;