修改返回数据

This commit is contained in:
liaofei 2023-04-11 18:10:34 +08:00
parent 61e948e4bc
commit a66295d6a3

View File

@ -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];
}