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