mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update 20221013031926_install_admin_data.php
This commit is contained in:
parent
5217883a26
commit
2e5759fce5
@ -19,7 +19,7 @@ class InstallAdminData extends Migrator
|
|||||||
{
|
{
|
||||||
$this->createUser();
|
$this->createUser();
|
||||||
$this->createMenu();
|
$this->createMenu();
|
||||||
$this->_createConf();
|
$this->createConf();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -84,7 +84,7 @@ class InstallAdminData extends Migrator
|
|||||||
* @return void
|
* @return void
|
||||||
* @throws \think\db\exception\DbException
|
* @throws \think\db\exception\DbException
|
||||||
*/
|
*/
|
||||||
private function _createConf()
|
private function createConf()
|
||||||
{
|
{
|
||||||
if (SystemConfig::mk()->count()) {
|
if (SystemConfig::mk()->count()) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user