Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵增煜
/
tzt-admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
f4a611f2
authored
Nov 13, 2024
by
lujunyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
权限备份
parent
61efaa0d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
832 additions
and
15 deletions
+832
-15
database/seeders/AdminTablesSeeder.php
+832
-15
No files found.
database/seeders/AdminTablesSeeder.php
View file @
f4a611f2
...
@@ -379,6 +379,18 @@ public function run()
...
@@ -379,6 +379,18 @@ public function run()
'created_at'
=>
'2024-11-06 16:23:54'
,
'created_at'
=>
'2024-11-06 16:23:54'
,
'updated_at'
=>
'2024-11-10 23:38:06'
,
'updated_at'
=>
'2024-11-10 23:38:06'
,
],
],
[
'id'
=>
35
,
'parent_id'
=>
9
,
'order'
=>
35
,
'title'
=>
'药品单位'
,
'icon'
=>
null
,
'uri'
=>
'drug-unit'
,
'extension'
=>
''
,
'show'
=>
1
,
'created_at'
=>
'2024-11-13 21:18:24'
,
'updated_at'
=>
'2024-11-13 21:18:24'
,
],
]
]
);
);
...
@@ -391,10 +403,10 @@ public function run()
...
@@ -391,10 +403,10 @@ public function run()
'slug'
=>
'auth-management'
,
'slug'
=>
'auth-management'
,
'http_method'
=>
''
,
'http_method'
=>
''
,
'http_path'
=>
''
,
'http_path'
=>
''
,
'order'
=>
1
,
'order'
=>
24
,
'parent_id'
=>
0
,
'parent_id'
=>
0
,
'created_at'
=>
'2024-11-03 02:13:11'
,
'created_at'
=>
'2024-11-03 02:13:11'
,
'updated_at'
=>
'2024-11-
03 23:19:08
'
,
'updated_at'
=>
'2024-11-
13 22:40:04
'
,
],
],
[
[
'id'
=>
2
,
'id'
=>
2
,
...
@@ -402,10 +414,10 @@ public function run()
...
@@ -402,10 +414,10 @@ public function run()
'slug'
=>
'users'
,
'slug'
=>
'users'
,
'http_method'
=>
''
,
'http_method'
=>
''
,
'http_path'
=>
'/auth/users*'
,
'http_path'
=>
'/auth/users*'
,
'order'
=>
2
,
'order'
=>
2
5
,
'parent_id'
=>
1
,
'parent_id'
=>
1
,
'created_at'
=>
'2024-11-03 02:13:11'
,
'created_at'
=>
'2024-11-03 02:13:11'
,
'updated_at'
=>
'2024-11-
03 23:19:1
4'
,
'updated_at'
=>
'2024-11-
13 22:40:0
4'
,
],
],
[
[
'id'
=>
3
,
'id'
=>
3
,
...
@@ -413,10 +425,10 @@ public function run()
...
@@ -413,10 +425,10 @@ public function run()
'slug'
=>
'roles'
,
'slug'
=>
'roles'
,
'http_method'
=>
''
,
'http_method'
=>
''
,
'http_path'
=>
'/auth/roles*'
,
'http_path'
=>
'/auth/roles*'
,
'order'
=>
3
,
'order'
=>
26
,
'parent_id'
=>
1
,
'parent_id'
=>
1
,
'created_at'
=>
'2024-11-03 02:13:11'
,
'created_at'
=>
'2024-11-03 02:13:11'
,
'updated_at'
=>
'2024-11-
03 23:19:19
'
,
'updated_at'
=>
'2024-11-
13 22:40:04
'
,
],
],
[
[
'id'
=>
4
,
'id'
=>
4
,
...
@@ -424,10 +436,10 @@ public function run()
...
@@ -424,10 +436,10 @@ public function run()
'slug'
=>
'permissions'
,
'slug'
=>
'permissions'
,
'http_method'
=>
''
,
'http_method'
=>
''
,
'http_path'
=>
'/auth/permissions*'
,
'http_path'
=>
'/auth/permissions*'
,
'order'
=>
4
,
'order'
=>
27
,
'parent_id'
=>
1
,
'parent_id'
=>
1
,
'created_at'
=>
'2024-11-03 02:13:11'
,
'created_at'
=>
'2024-11-03 02:13:11'
,
'updated_at'
=>
'2024-11-
03 23:19:2
4'
,
'updated_at'
=>
'2024-11-
13 22:40:0
4'
,
],
],
[
[
'id'
=>
5
,
'id'
=>
5
,
...
@@ -435,10 +447,10 @@ public function run()
...
@@ -435,10 +447,10 @@ public function run()
'slug'
=>
'menu'
,
'slug'
=>
'menu'
,
'http_method'
=>
''
,
'http_method'
=>
''
,
'http_path'
=>
'/auth/menu*'
,
'http_path'
=>
'/auth/menu*'
,
'order'
=>
5
,
'order'
=>
28
,
'parent_id'
=>
1
,
'parent_id'
=>
1
,
'created_at'
=>
'2024-11-03 02:13:11'
,
'created_at'
=>
'2024-11-03 02:13:11'
,
'updated_at'
=>
'2024-11-
03 23:19:30
'
,
'updated_at'
=>
'2024-11-
13 22:40:04
'
,
],
],
[
[
'id'
=>
6
,
'id'
=>
6
,
...
@@ -446,10 +458,10 @@ public function run()
...
@@ -446,10 +458,10 @@ public function run()
'slug'
=>
'extension'
,
'slug'
=>
'extension'
,
'http_method'
=>
''
,
'http_method'
=>
''
,
'http_path'
=>
'/auth/extensions*'
,
'http_path'
=>
'/auth/extensions*'
,
'order'
=>
6
,
'order'
=>
29
,
'parent_id'
=>
1
,
'parent_id'
=>
1
,
'created_at'
=>
'2024-11-03 02:13:11'
,
'created_at'
=>
'2024-11-03 02:13:11'
,
'updated_at'
=>
'2024-11-
03 23:19:35
'
,
'updated_at'
=>
'2024-11-
13 22:40:04
'
,
],
],
[
[
'id'
=>
7
,
'id'
=>
7
,
...
@@ -457,10 +469,263 @@ public function run()
...
@@ -457,10 +469,263 @@ public function run()
'slug'
=>
'auth.operationlog'
,
'slug'
=>
'auth.operationlog'
,
'http_method'
=>
''
,
'http_method'
=>
''
,
'http_path'
=>
'auth/operation-logs*'
,
'http_path'
=>
'auth/operation-logs*'
,
'order'
=>
7
,
'order'
=>
30
,
'parent_id'
=>
1
,
'parent_id'
=>
1
,
'created_at'
=>
'2024-11-03 23:20:09'
,
'created_at'
=>
'2024-11-03 23:20:09'
,
'updated_at'
=>
'2024-11-03 23:20:22'
,
'updated_at'
=>
'2024-11-13 22:40:04'
,
],
[
'id'
=>
8
,
'name'
=>
'药品'
,
'slug'
=>
'yaopin'
,
'http_method'
=>
''
,
'http_path'
=>
''
,
'order'
=>
1
,
'parent_id'
=>
0
,
'created_at'
=>
'2024-11-13 22:26:09'
,
'updated_at'
=>
'2024-11-13 22:34:40'
,
],
[
'id'
=>
9
,
'name'
=>
'诊断'
,
'slug'
=>
'diagnosi'
,
'http_method'
=>
''
,
'http_path'
=>
'diagnosi*'
,
'order'
=>
2
,
'parent_id'
=>
8
,
'created_at'
=>
'2024-11-13 22:26:58'
,
'updated_at'
=>
'2024-11-13 22:35:02'
,
],
[
'id'
=>
10
,
'name'
=>
'药品池'
,
'slug'
=>
'drug'
,
'http_method'
=>
''
,
'http_path'
=>
'drug*'
,
'order'
=>
3
,
'parent_id'
=>
8
,
'created_at'
=>
'2024-11-13 22:27:21'
,
'updated_at'
=>
'2024-11-13 22:35:07'
,
],
[
'id'
=>
11
,
'name'
=>
'药品标签'
,
'slug'
=>
'drug-tag'
,
'http_method'
=>
''
,
'http_path'
=>
'drug-tag*'
,
'order'
=>
4
,
'parent_id'
=>
8
,
'created_at'
=>
'2024-11-13 22:27:59'
,
'updated_at'
=>
'2024-11-13 22:35:22'
,
],
[
'id'
=>
12
,
'name'
=>
'药品单位'
,
'slug'
=>
'drug-unit'
,
'http_method'
=>
''
,
'http_path'
=>
'drug-unit*'
,
'order'
=>
5
,
'parent_id'
=>
8
,
'created_at'
=>
'2024-11-13 22:28:23'
,
'updated_at'
=>
'2024-11-13 22:35:27'
,
],
[
'id'
=>
13
,
'name'
=>
'问诊'
,
'slug'
=>
'wenzhen'
,
'http_method'
=>
''
,
'http_path'
=>
''
,
'order'
=>
6
,
'parent_id'
=>
0
,
'created_at'
=>
'2024-11-13 22:29:16'
,
'updated_at'
=>
'2024-11-13 22:35:35'
,
],
[
'id'
=>
14
,
'name'
=>
'问诊人列表'
,
'slug'
=>
'patient'
,
'http_method'
=>
''
,
'http_path'
=>
'patient*'
,
'order'
=>
7
,
'parent_id'
=>
13
,
'created_at'
=>
'2024-11-13 22:29:50'
,
'updated_at'
=>
'2024-11-13 22:35:49'
,
],
[
'id'
=>
15
,
'name'
=>
'问诊问题'
,
'slug'
=>
'inquiry'
,
'http_method'
=>
''
,
'http_path'
=>
'inquiry*'
,
'order'
=>
8
,
'parent_id'
=>
13
,
'created_at'
=>
'2024-11-13 22:30:20'
,
'updated_at'
=>
'2024-11-13 22:35:57'
,
],
[
'id'
=>
16
,
'name'
=>
'医师'
,
'slug'
=>
'yishi'
,
'http_method'
=>
''
,
'http_path'
=>
''
,
'order'
=>
9
,
'parent_id'
=>
0
,
'created_at'
=>
'2024-11-13 22:30:40'
,
'updated_at'
=>
'2024-11-13 22:36:03'
,
],
[
'id'
=>
17
,
'name'
=>
'医师列表'
,
'slug'
=>
'doctor'
,
'http_method'
=>
''
,
'http_path'
=>
'doctor*'
,
'order'
=>
10
,
'parent_id'
=>
16
,
'created_at'
=>
'2024-11-13 22:31:09'
,
'updated_at'
=>
'2024-11-13 22:36:08'
,
],
[
'id'
=>
18
,
'name'
=>
'医师纠错'
,
'slug'
=>
'doctor-correction'
,
'http_method'
=>
''
,
'http_path'
=>
'doctor-correction*'
,
'order'
=>
11
,
'parent_id'
=>
16
,
'created_at'
=>
'2024-11-13 22:31:37'
,
'updated_at'
=>
'2024-11-13 22:36:14'
,
],
[
'id'
=>
19
,
'name'
=>
'药店'
,
'slug'
=>
'yaodian'
,
'http_method'
=>
''
,
'http_path'
=>
''
,
'order'
=>
12
,
'parent_id'
=>
0
,
'created_at'
=>
'2024-11-13 22:31:59'
,
'updated_at'
=>
'2024-11-13 22:36:19'
,
],
[
'id'
=>
20
,
'name'
=>
'药店列表'
,
'slug'
=>
'pharmacy'
,
'http_method'
=>
''
,
'http_path'
=>
'pharmacy*'
,
'order'
=>
13
,
'parent_id'
=>
19
,
'created_at'
=>
'2024-11-13 22:32:31'
,
'updated_at'
=>
'2024-11-13 22:36:25'
,
],
[
'id'
=>
21
,
'name'
=>
'药师列表'
,
'slug'
=>
'pharmacist'
,
'http_method'
=>
''
,
'http_path'
=>
'pharmacist*'
,
'order'
=>
14
,
'parent_id'
=>
19
,
'created_at'
=>
'2024-11-13 22:33:02'
,
'updated_at'
=>
'2024-11-13 22:33:57'
,
],
[
'id'
=>
22
,
'name'
=>
'药店纠错'
,
'slug'
=>
'pharmacy-correction'
,
'http_method'
=>
''
,
'http_path'
=>
'pharmacy-correction*'
,
'order'
=>
15
,
'parent_id'
=>
19
,
'created_at'
=>
'2024-11-13 22:33:54'
,
'updated_at'
=>
'2024-11-13 22:36:34'
,
],
[
'id'
=>
23
,
'name'
=>
'处方'
,
'slug'
=>
'chufang'
,
'http_method'
=>
''
,
'http_path'
=>
''
,
'order'
=>
16
,
'parent_id'
=>
0
,
'created_at'
=>
'2024-11-13 22:34:24'
,
'updated_at'
=>
'2024-11-13 22:36:50'
,
],
[
'id'
=>
24
,
'name'
=>
'处方列表'
,
'slug'
=>
'prescription'
,
'http_method'
=>
''
,
'http_path'
=>
'prescription*'
,
'order'
=>
17
,
'parent_id'
=>
23
,
'created_at'
=>
'2024-11-13 22:37:11'
,
'updated_at'
=>
'2024-11-13 22:37:56'
,
],
[
'id'
=>
25
,
'name'
=>
'处方日志'
,
'slug'
=>
'prescription-log'
,
'http_method'
=>
''
,
'http_path'
=>
'prescription-log*'
,
'order'
=>
18
,
'parent_id'
=>
23
,
'created_at'
=>
'2024-11-13 22:37:30'
,
'updated_at'
=>
'2024-11-13 22:37:56'
,
],
[
'id'
=>
26
,
'name'
=>
'系统'
,
'slug'
=>
'xitong'
,
'http_method'
=>
''
,
'http_path'
=>
''
,
'order'
=>
19
,
'parent_id'
=>
0
,
'created_at'
=>
'2024-11-13 22:37:52'
,
'updated_at'
=>
'2024-11-13 22:37:56'
,
],
[
'id'
=>
27
,
'name'
=>
'设置'
,
'slug'
=>
'site-config'
,
'http_method'
=>
''
,
'http_path'
=>
'site-config*'
,
'order'
=>
20
,
'parent_id'
=>
26
,
'created_at'
=>
'2024-11-13 22:38:16'
,
'updated_at'
=>
'2024-11-13 22:39:33'
,
],
[
'id'
=>
28
,
'name'
=>
'药品管理[药店]'
,
'slug'
=>
'pharmacy-drug'
,
'http_method'
=>
''
,
'http_path'
=>
'pharmacy-drug*'
,
'order'
=>
21
,
'parent_id'
=>
0
,
'created_at'
=>
'2024-11-13 22:38:49'
,
'updated_at'
=>
'2024-11-13 22:40:04'
,
],
[
'id'
=>
29
,
'name'
=>
'用法用量[药店]'
,
'slug'
=>
'dosage'
,
'http_method'
=>
''
,
'http_path'
=>
'dosage*'
,
'order'
=>
22
,
'parent_id'
=>
0
,
'created_at'
=>
'2024-11-13 22:39:14'
,
'updated_at'
=>
'2024-11-13 22:40:04'
,
],
[
'id'
=>
30
,
'name'
=>
'处方打印[药店]'
,
'slug'
=>
'prescription-print'
,
'http_method'
=>
''
,
'http_path'
=>
'prescription-print*'
,
'order'
=>
23
,
'parent_id'
=>
0
,
'created_at'
=>
'2024-11-13 22:39:31'
,
'updated_at'
=>
'2024-11-13 22:40:04'
,
],
],
]
]
);
);
...
@@ -482,6 +747,13 @@ public function run()
...
@@ -482,6 +747,13 @@ public function run()
'created_at'
=>
'2024-11-11 00:40:57'
,
'created_at'
=>
'2024-11-11 00:40:57'
,
'updated_at'
=>
'2024-11-11 00:40:57'
,
'updated_at'
=>
'2024-11-11 00:40:57'
,
],
],
[
'id'
=>
3
,
'name'
=>
'同知堂管理员'
,
'slug'
=>
'tzt.administrator'
,
'created_at'
=>
'2024-11-13 22:44:24'
,
'updated_at'
=>
'2024-11-13 22:45:18'
,
],
]
]
);
);
...
@@ -1088,6 +1360,192 @@ public function run()
...
@@ -1088,6 +1360,192 @@ public function run()
DB
::
table
(
'admin_role_menu'
)
->
insert
(
DB
::
table
(
'admin_role_menu'
)
->
insert
(
[
[
[
[
'role_id'
=>
1
,
'menu_id'
=>
1
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'menu_id'
=>
2
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'menu_id'
=>
3
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'menu_id'
=>
4
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'menu_id'
=>
5
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'menu_id'
=>
6
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'menu_id'
=>
7
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'menu_id'
=>
8
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'menu_id'
=>
9
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'menu_id'
=>
10
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'menu_id'
=>
11
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'menu_id'
=>
12
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'menu_id'
=>
13
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'menu_id'
=>
14
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'menu_id'
=>
15
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'menu_id'
=>
16
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'menu_id'
=>
17
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'menu_id'
=>
18
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'menu_id'
=>
19
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'menu_id'
=>
20
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'menu_id'
=>
21
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'menu_id'
=>
22
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'menu_id'
=>
23
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'menu_id'
=>
25
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'menu_id'
=>
27
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'menu_id'
=>
29
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'menu_id'
=>
30
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'menu_id'
=>
31
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'menu_id'
=>
32
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'menu_id'
=>
34
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'menu_id'
=>
35
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
2
,
'role_id'
=>
2
,
'menu_id'
=>
23
,
'menu_id'
=>
23
,
'created_at'
=>
'2024-11-11 00:40:57'
,
'created_at'
=>
'2024-11-11 00:40:57'
,
...
@@ -1105,13 +1563,372 @@ public function run()
...
@@ -1105,13 +1563,372 @@ public function run()
'created_at'
=>
'2024-11-11 00:40:57'
,
'created_at'
=>
'2024-11-11 00:40:57'
,
'updated_at'
=>
'2024-11-11 00:40:57'
,
'updated_at'
=>
'2024-11-11 00:40:57'
,
],
],
[
'role_id'
=>
3
,
'menu_id'
=>
9
,
'created_at'
=>
'2024-11-13 22:44:24'
,
'updated_at'
=>
'2024-11-13 22:44:24'
,
],
[
'role_id'
=>
3
,
'menu_id'
=>
10
,
'created_at'
=>
'2024-11-13 22:44:24'
,
'updated_at'
=>
'2024-11-13 22:44:24'
,
],
[
'role_id'
=>
3
,
'menu_id'
=>
11
,
'created_at'
=>
'2024-11-13 22:44:24'
,
'updated_at'
=>
'2024-11-13 22:44:24'
,
],
[
'role_id'
=>
3
,
'menu_id'
=>
12
,
'created_at'
=>
'2024-11-13 22:44:24'
,
'updated_at'
=>
'2024-11-13 22:44:24'
,
],
[
'role_id'
=>
3
,
'menu_id'
=>
13
,
'created_at'
=>
'2024-11-13 22:44:24'
,
'updated_at'
=>
'2024-11-13 22:44:24'
,
],
[
'role_id'
=>
3
,
'menu_id'
=>
14
,
'created_at'
=>
'2024-11-13 22:44:24'
,
'updated_at'
=>
'2024-11-13 22:44:24'
,
],
[
'role_id'
=>
3
,
'menu_id'
=>
15
,
'created_at'
=>
'2024-11-13 22:44:24'
,
'updated_at'
=>
'2024-11-13 22:44:24'
,
],
[
'role_id'
=>
3
,
'menu_id'
=>
16
,
'created_at'
=>
'2024-11-13 22:44:24'
,
'updated_at'
=>
'2024-11-13 22:44:24'
,
],
[
'role_id'
=>
3
,
'menu_id'
=>
17
,
'created_at'
=>
'2024-11-13 22:44:24'
,
'updated_at'
=>
'2024-11-13 22:44:24'
,
],
[
'role_id'
=>
3
,
'menu_id'
=>
18
,
'created_at'
=>
'2024-11-13 22:44:24'
,
'updated_at'
=>
'2024-11-13 22:44:24'
,
],
[
'role_id'
=>
3
,
'menu_id'
=>
19
,
'created_at'
=>
'2024-11-13 22:44:24'
,
'updated_at'
=>
'2024-11-13 22:44:24'
,
],
[
'role_id'
=>
3
,
'menu_id'
=>
20
,
'created_at'
=>
'2024-11-13 22:44:24'
,
'updated_at'
=>
'2024-11-13 22:44:24'
,
],
[
'role_id'
=>
3
,
'menu_id'
=>
21
,
'created_at'
=>
'2024-11-13 22:44:24'
,
'updated_at'
=>
'2024-11-13 22:44:24'
,
],
[
'role_id'
=>
3
,
'menu_id'
=>
22
,
'created_at'
=>
'2024-11-13 22:44:24'
,
'updated_at'
=>
'2024-11-13 22:44:24'
,
],
[
'role_id'
=>
3
,
'menu_id'
=>
29
,
'created_at'
=>
'2024-11-13 22:44:24'
,
'updated_at'
=>
'2024-11-13 22:44:24'
,
],
[
'role_id'
=>
3
,
'menu_id'
=>
30
,
'created_at'
=>
'2024-11-13 22:44:24'
,
'updated_at'
=>
'2024-11-13 22:44:24'
,
],
[
'role_id'
=>
3
,
'menu_id'
=>
31
,
'created_at'
=>
'2024-11-13 22:44:24'
,
'updated_at'
=>
'2024-11-13 22:44:24'
,
],
[
'role_id'
=>
3
,
'menu_id'
=>
32
,
'created_at'
=>
'2024-11-13 22:44:24'
,
'updated_at'
=>
'2024-11-13 22:44:24'
,
],
[
'role_id'
=>
3
,
'menu_id'
=>
34
,
'created_at'
=>
'2024-11-13 22:44:24'
,
'updated_at'
=>
'2024-11-13 22:44:24'
,
],
[
'role_id'
=>
3
,
'menu_id'
=>
35
,
'created_at'
=>
'2024-11-13 22:44:24'
,
'updated_at'
=>
'2024-11-13 22:44:24'
,
],
]
]
);
);
DB
::
table
(
'admin_role_permissions'
)
->
truncate
();
DB
::
table
(
'admin_role_permissions'
)
->
truncate
();
DB
::
table
(
'admin_role_permissions'
)
->
insert
(
DB
::
table
(
'admin_role_permissions'
)
->
insert
(
[
[
[
'role_id'
=>
1
,
'permission_id'
=>
2
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'permission_id'
=>
3
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'permission_id'
=>
4
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'permission_id'
=>
5
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'permission_id'
=>
6
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'permission_id'
=>
7
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'permission_id'
=>
9
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'permission_id'
=>
10
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'permission_id'
=>
11
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'permission_id'
=>
12
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'permission_id'
=>
14
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'permission_id'
=>
15
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'permission_id'
=>
17
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'permission_id'
=>
18
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'permission_id'
=>
20
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'permission_id'
=>
21
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'permission_id'
=>
22
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'permission_id'
=>
24
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'permission_id'
=>
25
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'permission_id'
=>
27
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'permission_id'
=>
28
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'permission_id'
=>
29
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
1
,
'permission_id'
=>
30
,
'created_at'
=>
'2024-11-13 22:44:46'
,
'updated_at'
=>
'2024-11-13 22:44:46'
,
],
[
'role_id'
=>
2
,
'permission_id'
=>
28
,
'created_at'
=>
'2024-11-13 22:40:14'
,
'updated_at'
=>
'2024-11-13 22:40:14'
,
],
[
'role_id'
=>
2
,
'permission_id'
=>
29
,
'created_at'
=>
'2024-11-13 22:40:14'
,
'updated_at'
=>
'2024-11-13 22:40:14'
,
],
[
'role_id'
=>
2
,
'permission_id'
=>
30
,
'created_at'
=>
'2024-11-13 22:40:14'
,
'updated_at'
=>
'2024-11-13 22:40:14'
,
],
[
'role_id'
=>
3
,
'permission_id'
=>
9
,
'created_at'
=>
'2024-11-13 22:44:24'
,
'updated_at'
=>
'2024-11-13 22:44:24'
,
],
[
'role_id'
=>
3
,
'permission_id'
=>
10
,
'created_at'
=>
'2024-11-13 22:44:24'
,
'updated_at'
=>
'2024-11-13 22:44:24'
,
],
[
'role_id'
=>
3
,
'permission_id'
=>
11
,
'created_at'
=>
'2024-11-13 22:44:24'
,
'updated_at'
=>
'2024-11-13 22:44:24'
,
],
[
'role_id'
=>
3
,
'permission_id'
=>
12
,
'created_at'
=>
'2024-11-13 22:44:24'
,
'updated_at'
=>
'2024-11-13 22:44:24'
,
],
[
'role_id'
=>
3
,
'permission_id'
=>
14
,
'created_at'
=>
'2024-11-13 22:44:24'
,
'updated_at'
=>
'2024-11-13 22:44:24'
,
],
[
'role_id'
=>
3
,
'permission_id'
=>
15
,
'created_at'
=>
'2024-11-13 22:44:24'
,
'updated_at'
=>
'2024-11-13 22:44:24'
,
],
[
'role_id'
=>
3
,
'permission_id'
=>
17
,
'created_at'
=>
'2024-11-13 22:44:24'
,
'updated_at'
=>
'2024-11-13 22:44:24'
,
],
[
'role_id'
=>
3
,
'permission_id'
=>
18
,
'created_at'
=>
'2024-11-13 22:44:24'
,
'updated_at'
=>
'2024-11-13 22:44:24'
,
],
[
'role_id'
=>
3
,
'permission_id'
=>
20
,
'created_at'
=>
'2024-11-13 22:44:24'
,
'updated_at'
=>
'2024-11-13 22:44:24'
,
],
[
'role_id'
=>
3
,
'permission_id'
=>
21
,
'created_at'
=>
'2024-11-13 22:44:24'
,
'updated_at'
=>
'2024-11-13 22:44:24'
,
],
[
'role_id'
=>
3
,
'permission_id'
=>
22
,
'created_at'
=>
'2024-11-13 22:44:24'
,
'updated_at'
=>
'2024-11-13 22:44:24'
,
],
[
'role_id'
=>
3
,
'permission_id'
=>
24
,
'created_at'
=>
'2024-11-13 22:44:24'
,
'updated_at'
=>
'2024-11-13 22:44:24'
,
],
[
'role_id'
=>
3
,
'permission_id'
=>
25
,
'created_at'
=>
'2024-11-13 22:44:24'
,
'updated_at'
=>
'2024-11-13 22:44:24'
,
],
[
'role_id'
=>
3
,
'permission_id'
=>
27
,
'created_at'
=>
'2024-11-13 22:44:24'
,
'updated_at'
=>
'2024-11-13 22:44:24'
,
],
]
]
);
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment