liaofei 2 лет назад
Родитель
Сommit
a66295d6a3
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      crmeb/crmeb/services/crud/Route.php

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

@@ -80,7 +80,7 @@ class Route extends Make
 
         $contentStr = str_replace($this->var, $this->value, $content);
 
-        $filePath = $this->getFilePathName($path, $this->value['nameCamel']);
+        $filePath = $this->getFilePathName($path, strtolower($name));
 
         return [$this->makeFile($filePath, $contentStr), $filePath];
     }