Update 20221013031926_install_admin_data.php

This commit is contained in:
邹景立 2022-10-27 13:49:04 +08:00
parent 5217883a26
commit 2e5759fce5

View File

@ -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;