更新 app/common/service/generator/core/BaseGenerator.php
This commit is contained in:
parent
3878a1f2a8
commit
a5f0229a48
@ -399,7 +399,18 @@ abstract class BaseGenerator
|
||||
return $pk;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 获取vue api目录
|
||||
*/
|
||||
public function getApiDirContent()
|
||||
{
|
||||
if ($this->classDir != $this->getLowerTableName()) {
|
||||
return $this->classDir . '/' . $this->getLowerTableName();
|
||||
}else{
|
||||
return $this->classDir;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @notes 获取作者信息
|
||||
* @return mixed|string
|
||||
|
Loading…
x
Reference in New Issue
Block a user