增加模块分类

This commit is contained in:
李志强 2026-02-24 10:35:18 +08:00
parent 0bf9b77aed
commit 63e9cb5c48

View File

@ -92,6 +92,7 @@ class ModulesController extends BaseController
'description' => input('post.description', '', 'trim'), 'description' => input('post.description', '', 'trim'),
'icon' => input('post.icon', '', 'trim'), 'icon' => input('post.icon', '', 'trim'),
'path' => input('post.path', '', 'trim'), 'path' => input('post.path', '', 'trim'),
'type' => input('post.type', '', 'trim'),
'sort' => (int)input('post.sort', 0), 'sort' => (int)input('post.sort', 0),
'status' => (int)input('post.status', 1), 'status' => (int)input('post.status', 1),
'is_show' => (int)input('post.is_show', 1), 'is_show' => (int)input('post.is_show', 1),
@ -161,6 +162,7 @@ class ModulesController extends BaseController
'description' => input('post.description', '', 'trim'), 'description' => input('post.description', '', 'trim'),
'icon' => input('post.icon', '', 'trim'), 'icon' => input('post.icon', '', 'trim'),
'path' => input('post.path', '', 'trim'), 'path' => input('post.path', '', 'trim'),
'type' => input('post.type', '', 'trim'),
'sort' => (int)input('post.sort', 0), 'sort' => (int)input('post.sort', 0),
'status' => (int)input('post.status', 1), 'status' => (int)input('post.status', 1),
'is_show' => (int)input('post.is_show', 1), 'is_show' => (int)input('post.is_show', 1),