update 数据字典

This commit is contained in:
全栈小学生 2023-09-18 15:32:49 +08:00
parent 427a5a2ce7
commit befe7805e3
2 changed files with 54 additions and 1 deletions

View File

@ -68,7 +68,6 @@ class Dict extends BaseAdminController
$data = $this->request->params([
["name",""],
["key",""],
["data",""],
["memo",""],
]);

View File

@ -1334,6 +1334,60 @@ return
'status' => 1,
'is_show' => 1,
],
[
'menu_name' => '数据字典',
'menu_key' => 'sys_dict_dict_dict_list',
'menu_type' => 1,
'icon' => 'iconfont-iconwenzhangguanli1',
'api_url' => 'dict/post/post',
'router_path' => 'list',
'view_path' => 'dict/list',
'methods' => 'get',
'sort' => 90,
'status' => 1,
'is_show' => 1,
'children' => [
[
'menu_name' => '数据字典添加',
'menu_key' => 'sys_dict_dict_dict_add',
'menu_type' => 2,
'icon' => '',
'api_url' => 'dict',
'router_path' => 'edit',
'view_path' => 'dict/edit',
'methods' => 'post',
'sort' => 4,
'status' => 1,
'is_show' => 1,
],
[
'menu_name' => '编辑',
'menu_key' => 'sys_dict_dict_dict_edit',
'menu_type' => 2,
'icon' => '',
'api_url' => 'dict/<id>',
'router_path' => 'edit',
'view_path' => 'dict/edit',
'methods' => 'put',
'sort' => 3,
'status' => 1,
'is_show' => 1,
],
[
'menu_name' => '删除',
'menu_key' => 'sys_dict_dict_dict_delete',
'menu_type' => 2,
'icon' => '',
'api_url' => 'dict/<id>',
'router_path' => '',
'view_path' => '',
'methods' => 'delete',
'sort' => 2,
'status' => 1,
'is_show' => 1,
],
]
],
[
'menu_name' => '生成设置',
'menu_key' => 'code_edit',