mirror of
https://gitee.com/koogua/course-tencent-cloud.git
synced 2025-07-24 00:41:43 +08:00
Merge branch 'master' of https://gitee.com/koogua/course-tencent-cloud
This commit is contained in:
commit
6ca3e99599
@ -77,7 +77,7 @@ class AuthMenu extends Component
|
||||
|
||||
foreach ($routeIdMapping as $key => $value) {
|
||||
$ids = explode('-', $value);
|
||||
if (in_array($key, $this->authInfo['routes'])) {
|
||||
if (is_array($this->authInfo['routes']) && in_array($key, $this->authInfo['routes'])) {
|
||||
$owned1stLevelIds[] = $ids[0];
|
||||
$owned2ndLevelIds[] = $ids[0] . '-' . $ids[1];
|
||||
$owned3rdLevelIds[] = $value;
|
||||
|
@ -302,8 +302,8 @@ final class InsertSettingData extends AbstractMigration
|
||||
],
|
||||
[
|
||||
'section' => 'site',
|
||||
'item_key' => 'enabled',
|
||||
'item_value' => '1',
|
||||
'item_key' => 'status',
|
||||
'item_value' => 'normal',
|
||||
],
|
||||
[
|
||||
'section' => 'site',
|
||||
@ -342,7 +342,12 @@ final class InsertSettingData extends AbstractMigration
|
||||
],
|
||||
[
|
||||
'section' => 'site',
|
||||
'item_key' => 'analytics',
|
||||
'item_key' => 'analytics_enabled',
|
||||
'item_value' => '0',
|
||||
],
|
||||
[
|
||||
'section' => 'site',
|
||||
'item_key' => 'analytics_script',
|
||||
'item_value' => '',
|
||||
],
|
||||
[
|
||||
|
@ -14,7 +14,7 @@ final class InsertUserData extends AbstractMigration
|
||||
$account = [
|
||||
'id' => 10000,
|
||||
'email' => '10000@163.com',
|
||||
'password' => '772b6a120699280eb2cce32ec706656a',
|
||||
'password' => '1a1e4568f1a3740b8853a8a16e29bc87',
|
||||
'salt' => 'MbZWxN3L',
|
||||
'create_time' => $now,
|
||||
];
|
||||
|
Loading…
x
Reference in New Issue
Block a user