Explorar o código

修改返回数据

liaofei %!s(int64=2) %!d(string=hai) anos
pai
achega
a66295d6a3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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];
     }