|
@@ -86,6 +86,7 @@ class Dump
|
|
|
* 导出文件数
|
|
|
*/
|
|
|
private $success = 0;
|
|
|
+
|
|
|
/**
|
|
|
* Dump constructor.
|
|
|
*
|
|
@@ -360,7 +361,7 @@ TXT;
|
|
|
if (count($clientColumns) > 0) {
|
|
|
$columnString = '["' . join('", "', $clientColumns) . '"]';
|
|
|
}
|
|
|
- $className = ucwords($filename);
|
|
|
+ $className = str_replace(" ", "", ucwords(str_replace("_", " ", $filename)));
|
|
|
$file = $this->modelDir . self::$DS . $className . '.php';
|
|
|
// 整理输出格式
|
|
|
$config = <<<TXT
|