liaofei vor 2 Jahren
Ursprung
Commit
61e948e4bc
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      crmeb/crmeb/services/crud/Controller.php

+ 1 - 1
crmeb/crmeb/services/crud/Controller.php

@@ -109,7 +109,7 @@ class Controller extends Make
      * @email 136327134@qq.com
      * @email 136327134@qq.com
      * @date 2023/3/13
      * @date 2023/3/13
      */
      */
-    protected function getStub(string $type = '')
+    protected function getStub(string $type = 'controller')
     {
     {
         $controllerPath = __DIR__ . DS . 'stubs' . DS . 'controller' . DS;
         $controllerPath = __DIR__ . DS . 'stubs' . DS . 'controller' . DS;