Skip to content

v1.5.1

Compare
Choose a tag to compare
@suyuan32 suyuan32 released this 22 Jul 04:08

Simple Admin Core/Common/Job/File v1.5.1 更新

  • 新增(Core): 新增系统参数配置功能
  • 更新: 更新依赖

Goctls v1.7.16 更新

  • 优化(gitignore): 新增忽略 vscode debug 文件
  • 修复(ent/import): 错误的 getSchemaName 函数
  • 更新: 更新依赖

Simple Admin Backend UI v1.5.1 更新

  • 新增(Configuration): 新增动态配置支持
  • 新增(Configuration): 新增动态配置 logo
  • 新增(Configuration): 新增动态配置网站名称
  • 新增(Configuration): 新增动态配置是否显示设置按钮
  • 优化(CodeEditor): 取消 json 格式化
  • 更新: 更新依赖

注意

本次更新需初始化下数据表并手动添加 API 及菜单数据

菜单数据:

INSERT INTO public.sys_menus
(id, created_at, updated_at, sort, menu_level, menu_type, "path", "name", redirect, component, disabled, service_name, "permission", title, icon, hide_menu, hide_breadcrumb, ignore_keep_alive, hide_tab, frame_src, carry_param, hide_children_in_menu, affix, dynamic_level, real_path, parent_id)
VALUES(16, '2024-07-22 10:09:07.921', '2024-07-22 10:09:07.921', 9, 2, 1, '/configuration', 'ConfigurationManagement', '', '/sys/configuration/index', false, 'Core', NULL, 'route.configurationManagement', 'carbon:data-2', false, false, false, false, '', false, false, false, 20, '', 2);

API 数据

INSERT INTO public.sys_apis
(id, created_at, updated_at, "path", description, api_group, service_name, "method", is_required)
VALUES(85, '2024-07-22 10:09:07.928', '2024-07-22 10:09:07.928', '/configuration/create', 'apiDesc.createConfiguration', 'configuration', 'Core', 'POST', false);
INSERT INTO public.sys_apis
(id, created_at, updated_at, "path", description, api_group, service_name, "method", is_required)
VALUES(86, '2024-07-22 10:09:07.928', '2024-07-22 10:09:07.928', '/configuration/update', 'apiDesc.updateConfiguration', 'configuration', 'Core', 'POST', false);
INSERT INTO public.sys_apis
(id, created_at, updated_at, "path", description, api_group, service_name, "method", is_required)
VALUES(87, '2024-07-22 10:09:07.928', '2024-07-22 10:09:07.928', '/configuration/delete', 'apiDesc.deleteConfiguration', 'configuration', 'Core', 'POST', false);
INSERT INTO public.sys_apis
(id, created_at, updated_at, "path", description, api_group, service_name, "method", is_required)
VALUES(88, '2024-07-22 10:09:07.928', '2024-07-22 10:09:07.928', '/configuration/list', 'apiDesc.getConfigurationList', 'configuration', 'Core', 'POST', false);
INSERT INTO public.sys_apis
(id, created_at, updated_at, "path", description, api_group, service_name, "method", is_required)
VALUES(89, '2024-07-22 10:09:07.928', '2024-07-22 10:09:07.928', '/configuration', 'apiDesc.getConfigurationById', 'configuration', 'Core', 'POST', false);

Simple Admin Core/Common/Job/File v1.5.1 Update

  • New (Core): Added system parameter configuration functionality.
  • Update: Updated dependencies.

Goctls v1.7.16 Update

  • Optimization (gitignore): Added ignore for vscode debug files.
  • Fix (ent/import): Corrected the getSchemaName function.
  • Update: Updated dependencies.

Simple Admin Backend UI v1.5.1 Update

  • New (Configuration): Added dynamic configuration support.
  • New (Configuration): Added dynamic configuration for logo.
  • New (Configuration): Added dynamic configuration for website name.
  • New (Configuration): Added dynamic configuration for showing settings button.
  • Optimization (CodeEditor): Removed JSON formatting.
  • Update: Updated dependencies.

Note

You should initialize database and insert menu and API data:

Menu Data:

INSERT INTO public.sys_menus
(id, created_at, updated_at, sort, menu_level, menu_type, "path", "name", redirect, component, disabled, service_name, "permission", title, icon, hide_menu, hide_breadcrumb, ignore_keep_alive, hide_tab, frame_src, carry_param, hide_children_in_menu, affix, dynamic_level, real_path, parent_id)
VALUES(16, '2024-07-22 10:09:07.921', '2024-07-22 10:09:07.921', 9, 2, 1, '/configuration', 'ConfigurationManagement', '', '/sys/configuration/index', false, 'Core', NULL, 'route.configurationManagement', 'carbon:data-2', false, false, false, false, '', false, false, false, 20, '', 2);

API Data

INSERT INTO public.sys_apis
(id, created_at, updated_at, "path", description, api_group, service_name, "method", is_required)
VALUES(85, '2024-07-22 10:09:07.928', '2024-07-22 10:09:07.928', '/configuration/create', 'apiDesc.createConfiguration', 'configuration', 'Core', 'POST', false);
INSERT INTO public.sys_apis
(id, created_at, updated_at, "path", description, api_group, service_name, "method", is_required)
VALUES(86, '2024-07-22 10:09:07.928', '2024-07-22 10:09:07.928', '/configuration/update', 'apiDesc.updateConfiguration', 'configuration', 'Core', 'POST', false);
INSERT INTO public.sys_apis
(id, created_at, updated_at, "path", description, api_group, service_name, "method", is_required)
VALUES(87, '2024-07-22 10:09:07.928', '2024-07-22 10:09:07.928', '/configuration/delete', 'apiDesc.deleteConfiguration', 'configuration', 'Core', 'POST', false);
INSERT INTO public.sys_apis
(id, created_at, updated_at, "path", description, api_group, service_name, "method", is_required)
VALUES(88, '2024-07-22 10:09:07.928', '2024-07-22 10:09:07.928', '/configuration/list', 'apiDesc.getConfigurationList', 'configuration', 'Core', 'POST', false);
INSERT INTO public.sys_apis
(id, created_at, updated_at, "path", description, api_group, service_name, "method", is_required)
VALUES(89, '2024-07-22 10:09:07.928', '2024-07-22 10:09:07.928', '/configuration', 'apiDesc.getConfigurationById', 'configuration', 'Core', 'POST', false);

Full Changelog: v1.5.0...v1.5.1