mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-06 18:12:50 +08:00
优化文件上传组件;
This commit is contained in:
@@ -279,7 +279,7 @@ class BuildCurdService
|
||||
}
|
||||
|
||||
// 获取表名注释
|
||||
$tableSchema = Db::query("SELECT table_name,table_comment FROM information_schema.TABLES WHERE table_schema = 'easyadmin' AND table_name = '{$this->tablePrefix}{$this->table}'");
|
||||
$tableSchema = Db::query("SELECT table_name,table_comment FROM information_schema.TABLES WHERE table_schema = 'ulthon_admin' AND table_name = '{$this->tablePrefix}{$this->table}'");
|
||||
$this->tableComment = (isset($tableSchema[0]['table_comment']) && !empty($tableSchema[0]['table_comment'])) ? $tableSchema[0]['table_comment'] : $this->table;
|
||||
} catch (\Exception $e) {
|
||||
throw new TableException($e->getMessage());
|
||||
|
||||
Reference in New Issue
Block a user