diff --git a/config/config.php b/config/config.php index b632362..9fa5296 100644 --- a/config/config.php +++ b/config/config.php @@ -1,7 +1,7 @@ config[self::FILE] === false) { return $name; } - $name = PinYin::make()->turn($name, false, '', 'utf-8'); + $name = PinYin::make()->turn($name, false, false, '_', 'utf-8'); // uuid 用于名称为空时 $name = empty($name) ? $this->uuid() : strtolower($name); if ($name === '.' . $extension) {