mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
改进数据表字段缓存生成 支持读取模块的模型生成
This commit is contained in:
@@ -1341,6 +1341,9 @@ class Query
|
||||
}
|
||||
|
||||
list($guid) = explode(' ', $tableName);
|
||||
if (!strpos($guid, '.')) {
|
||||
$guid = $this->getConfig('database') . '.' . $guid;
|
||||
}
|
||||
if (!isset(self::$info[$guid])) {
|
||||
// 读取缓存
|
||||
if (is_file(RUNTIME_PATH . 'schema/' . $guid . '.php')) {
|
||||
|
||||
Reference in New Issue
Block a user