瀏覽代碼

修改返回数据

liaofei 2 年之前
父節點
當前提交
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];
     }