1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-07-21 23:46:39 +08:00

!9 修正插入数据不一致以及后台菜单参数类型报错

* 1.修正插入的管理帐号数据
* 纠正迁移文件和时间代码中字段不一致
* 更新版本号
* 完善后台今日统计,增加权限白名单,增加后台首页菜单,调整后台登录页样式
* Merge branch 'koogua/I1XFCF' of https://gitee.com/koogua/course-tencen…
* 前台学习资料部分完成
* !2 后台运营统计合并
* 后台学习资料部分完成
* Merge branch 'master' into develop
* Merge branch 'master' of https://github.com/xiaochong0302/course-tencent-cloud
* 1.增加changelog.md
* 1.简化部分路由地址
* Merge pull request #2 from xiaochong0302/dependabot/composer/symfony/h…
* Bump symfony/http-foundation from 4.3.4 to 5.1.6
This commit is contained in:
koogua 2020-10-26 20:09:31 +08:00
parent 0f6345e5da
commit f318fccada
2 changed files with 2 additions and 2 deletions

View File

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

View File

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