Procházet zdrojové kódy

修改返回数据

liaofei před 2 roky
rodič
revize
a66295d6a3
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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);
         $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];
         return [$this->makeFile($filePath, $contentStr), $filePath];
     }
     }