更新 app/common/service/generator/core/VueApiGenerator.php

This commit is contained in:
mkm 2025-08-21 11:04:30 +08:00
parent 64a7df1277
commit 26365cefef

View File

@ -79,7 +79,7 @@ class VueApiGenerator extends BaseGenerator implements GenerateInterface
{
$content = $this->getTableName();
if (!empty($this->classDir)) {
$content = $this->classDir . '.' . $this->getTableName();
$content = $this->classDir . '/' . Str::camel($this->getTableName());
}
return Str::lower($content);
}