From 3d0cbac664320fcf7f693b868f8e51d94d358528 Mon Sep 17 00:00:00 2001 From: JaguarJack <82664165@qq.com> Date: Thu, 17 Jan 2019 18:32:47 +0800 Subject: [PATCH] =?UTF-8?q?seed=20=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- database/seeds/Permissions.php | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/database/seeds/Permissions.php b/database/seeds/Permissions.php index a5b6a37..b259fb2 100644 --- a/database/seeds/Permissions.php +++ b/database/seeds/Permissions.php @@ -223,7 +223,19 @@ class Permissions extends Seeder 'updated_at' => date('Y-m-d H:i:s'), ], - ]; + [ + 'id' => 17, + 'name' => '日志记录', + 'icon' => '', + 'pid' => 1, + 'module' => 'admin', + 'controller' => 'Log', + 'action' => 'index', + 'is_show' => 1, + 'created_at' => date('Y-m-d H:i:s'), + 'updated_at' => date('Y-m-d H:i:s'), + ], + ]; $this->table(config('permissions.table.permission'))->insert($data)->save();