更新 app/common/service/generator/core/VueApiGenerator.php
This commit is contained in:
parent
64a7df1277
commit
26365cefef
@ -79,7 +79,7 @@ class VueApiGenerator extends BaseGenerator implements GenerateInterface
|
|||||||
{
|
{
|
||||||
$content = $this->getTableName();
|
$content = $this->getTableName();
|
||||||
if (!empty($this->classDir)) {
|
if (!empty($this->classDir)) {
|
||||||
$content = $this->classDir . '.' . $this->getTableName();
|
$content = $this->classDir . '/' . Str::camel($this->getTableName());
|
||||||
}
|
}
|
||||||
return Str::lower($content);
|
return Str::lower($content);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user