Browse Source

feat 初始化数据

jay 2 years ago
parent
commit
96787d2382

+ 72 - 0
data/init/sys_config.json

@@ -0,0 +1,72 @@
+ [
+    {
+      "config_id": 1,
+      "tenant_id": "000000",
+      "config_name": "主框架页-默认皮肤样式名称",
+      "config_key": "sys.index.skinName",
+      "config_value": "skin-blue",
+      "config_type": "Y",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "蓝色 skin-blue、绿色 skin-green、紫色 skin-purple、红色 skin-red、黄色 skin-yellow"
+    },
+    {
+      "config_id": 2,
+      "tenant_id": "000000",
+      "config_name": "用户管理-账号初始密码",
+      "config_key": "sys.user.initPassword",
+      "config_value": "123456",
+      "config_type": "Y",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "初始化密码 123456"
+    },
+    {
+      "config_id": 3,
+      "tenant_id": "000000",
+      "config_name": "主框架页-侧边栏主题",
+      "config_key": "sys.index.sideTheme",
+      "config_value": "theme-dark",
+      "config_type": "Y",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "深色主题theme-dark,浅色主题theme-light"
+    },
+    {
+      "config_id": 5,
+      "tenant_id": "000000",
+      "config_name": "账号自助-是否开启用户注册功能",
+      "config_key": "sys.account.registerUser",
+      "config_value": "false",
+      "config_type": "Y",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "是否开启注册用户功能(true开启,false关闭)"
+    },
+    {
+      "config_id": 11,
+      "tenant_id": "000000",
+      "config_name": "OSS预览列表资源开关",
+      "config_key": "sys.oss.previewListResource",
+      "config_value": "true",
+      "config_type": "Y",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "true:开启, false:关闭"
+    }
+  ]

+ 182 - 0
data/init/sys_dept.json

@@ -0,0 +1,182 @@
+ [
+    {
+      "dept_id": 100,
+      "tenant_id": "000000",
+      "parent_id": 0,
+      "ancestors": "0",
+      "dept_name": "XXX科技",
+      "order_num": 0,
+      "leader": "疯狂的狮子Li",
+      "phone": "15888888888",
+      "email": "xxx@qq.com",
+      "status": "0",
+      "del_flag": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null
+    },
+    {
+      "dept_id": 101,
+      "tenant_id": "000000",
+      "parent_id": 100,
+      "ancestors": "0,100",
+      "dept_name": "深圳总公司",
+      "order_num": 1,
+      "leader": "疯狂的狮子Li",
+      "phone": "15888888888",
+      "email": "xxx@qq.com",
+      "status": "0",
+      "del_flag": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null
+    },
+    {
+      "dept_id": 102,
+      "tenant_id": "000000",
+      "parent_id": 100,
+      "ancestors": "0,100",
+      "dept_name": "长沙分公司",
+      "order_num": 2,
+      "leader": "疯狂的狮子Li",
+      "phone": "15888888888",
+      "email": "xxx@qq.com",
+      "status": "0",
+      "del_flag": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null
+    },
+    {
+      "dept_id": 103,
+      "tenant_id": "000000",
+      "parent_id": 101,
+      "ancestors": "0,100,101",
+      "dept_name": "研发部门",
+      "order_num": 1,
+      "leader": "疯狂的狮子Li",
+      "phone": "15888888888",
+      "email": "xxx@qq.com",
+      "status": "0",
+      "del_flag": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null
+    },
+    {
+      "dept_id": 104,
+      "tenant_id": "000000",
+      "parent_id": 101,
+      "ancestors": "0,100,101",
+      "dept_name": "市场部门",
+      "order_num": 2,
+      "leader": "疯狂的狮子Li",
+      "phone": "15888888888",
+      "email": "xxx@qq.com",
+      "status": "0",
+      "del_flag": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null
+    },
+    {
+      "dept_id": 105,
+      "tenant_id": "000000",
+      "parent_id": 101,
+      "ancestors": "0,100,101",
+      "dept_name": "测试部门",
+      "order_num": 3,
+      "leader": "疯狂的狮子Li",
+      "phone": "15888888888",
+      "email": "xxx@qq.com",
+      "status": "0",
+      "del_flag": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null
+    },
+    {
+      "dept_id": 106,
+      "tenant_id": "000000",
+      "parent_id": 101,
+      "ancestors": "0,100,101",
+      "dept_name": "财务部门",
+      "order_num": 4,
+      "leader": "疯狂的狮子Li",
+      "phone": "15888888888",
+      "email": "xxx@qq.com",
+      "status": "0",
+      "del_flag": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null
+    },
+    {
+      "dept_id": 107,
+      "tenant_id": "000000",
+      "parent_id": 101,
+      "ancestors": "0,100,101",
+      "dept_name": "运维部门",
+      "order_num": 5,
+      "leader": "疯狂的狮子Li",
+      "phone": "15888888888",
+      "email": "xxx@qq.com",
+      "status": "0",
+      "del_flag": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null
+    },
+    {
+      "dept_id": 108,
+      "tenant_id": "000000",
+      "parent_id": 102,
+      "ancestors": "0,100,102",
+      "dept_name": "市场部门",
+      "order_num": 1,
+      "leader": "疯狂的狮子Li",
+      "phone": "15888888888",
+      "email": "xxx@qq.com",
+      "status": "0",
+      "del_flag": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null
+    },
+    {
+      "dept_id": 109,
+      "tenant_id": "000000",
+      "parent_id": 102,
+      "ancestors": "0,100,102",
+      "dept_name": "财务部门",
+      "order_num": 2,
+      "leader": "疯狂的狮子Li",
+      "phone": "15888888888",
+      "email": "xxx@qq.com",
+      "status": "0",
+      "del_flag": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null
+    }
+  ]

+ 452 - 0
data/init/sys_dict_data.json

@@ -0,0 +1,452 @@
+ [
+    {
+      "dict_code": 1,
+      "tenant_id": "000000",
+      "dict_sort": 1,
+      "dict_label": "男",
+      "dict_value": "0",
+      "dict_type": "sys_user_sex",
+      "css_class": "",
+      "list_class": "",
+      "is_default": "Y",
+      "status": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "性别男"
+    },
+    {
+      "dict_code": 2,
+      "tenant_id": "000000",
+      "dict_sort": 2,
+      "dict_label": "女",
+      "dict_value": "1",
+      "dict_type": "sys_user_sex",
+      "css_class": "",
+      "list_class": "",
+      "is_default": "N",
+      "status": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "性别女"
+    },
+    {
+      "dict_code": 3,
+      "tenant_id": "000000",
+      "dict_sort": 3,
+      "dict_label": "未知",
+      "dict_value": "2",
+      "dict_type": "sys_user_sex",
+      "css_class": "",
+      "list_class": "",
+      "is_default": "N",
+      "status": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "性别未知"
+    },
+    {
+      "dict_code": 4,
+      "tenant_id": "000000",
+      "dict_sort": 1,
+      "dict_label": "显示",
+      "dict_value": "0",
+      "dict_type": "sys_show_hide",
+      "css_class": "",
+      "list_class": "primary",
+      "is_default": "Y",
+      "status": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "显示菜单"
+    },
+    {
+      "dict_code": 5,
+      "tenant_id": "000000",
+      "dict_sort": 2,
+      "dict_label": "隐藏",
+      "dict_value": "1",
+      "dict_type": "sys_show_hide",
+      "css_class": "",
+      "list_class": "danger",
+      "is_default": "N",
+      "status": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "隐藏菜单"
+    },
+    {
+      "dict_code": 6,
+      "tenant_id": "000000",
+      "dict_sort": 1,
+      "dict_label": "正常",
+      "dict_value": "0",
+      "dict_type": "sys_normal_disable",
+      "css_class": "",
+      "list_class": "primary",
+      "is_default": "Y",
+      "status": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "正常状态"
+    },
+    {
+      "dict_code": 7,
+      "tenant_id": "000000",
+      "dict_sort": 2,
+      "dict_label": "停用",
+      "dict_value": "1",
+      "dict_type": "sys_normal_disable",
+      "css_class": "",
+      "list_class": "danger",
+      "is_default": "N",
+      "status": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "停用状态"
+    },
+    {
+      "dict_code": 12,
+      "tenant_id": "000000",
+      "dict_sort": 1,
+      "dict_label": "是",
+      "dict_value": "Y",
+      "dict_type": "sys_yes_no",
+      "css_class": "",
+      "list_class": "primary",
+      "is_default": "Y",
+      "status": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "系统默认是"
+    },
+    {
+      "dict_code": 13,
+      "tenant_id": "000000",
+      "dict_sort": 2,
+      "dict_label": "否",
+      "dict_value": "N",
+      "dict_type": "sys_yes_no",
+      "css_class": "",
+      "list_class": "danger",
+      "is_default": "N",
+      "status": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "系统默认否"
+    },
+    {
+      "dict_code": 14,
+      "tenant_id": "000000",
+      "dict_sort": 1,
+      "dict_label": "通知",
+      "dict_value": "1",
+      "dict_type": "sys_notice_type",
+      "css_class": "",
+      "list_class": "warning",
+      "is_default": "Y",
+      "status": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "通知"
+    },
+    {
+      "dict_code": 15,
+      "tenant_id": "000000",
+      "dict_sort": 2,
+      "dict_label": "公告",
+      "dict_value": "2",
+      "dict_type": "sys_notice_type",
+      "css_class": "",
+      "list_class": "success",
+      "is_default": "N",
+      "status": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "公告"
+    },
+    {
+      "dict_code": 16,
+      "tenant_id": "000000",
+      "dict_sort": 1,
+      "dict_label": "正常",
+      "dict_value": "0",
+      "dict_type": "sys_notice_status",
+      "css_class": "",
+      "list_class": "primary",
+      "is_default": "Y",
+      "status": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "正常状态"
+    },
+    {
+      "dict_code": 17,
+      "tenant_id": "000000",
+      "dict_sort": 2,
+      "dict_label": "关闭",
+      "dict_value": "1",
+      "dict_type": "sys_notice_status",
+      "css_class": "",
+      "list_class": "danger",
+      "is_default": "N",
+      "status": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "关闭状态"
+    },
+    {
+      "dict_code": 18,
+      "tenant_id": "000000",
+      "dict_sort": 1,
+      "dict_label": "新增",
+      "dict_value": "1",
+      "dict_type": "sys_oper_type",
+      "css_class": "",
+      "list_class": "info",
+      "is_default": "N",
+      "status": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "新增操作"
+    },
+    {
+      "dict_code": 19,
+      "tenant_id": "000000",
+      "dict_sort": 2,
+      "dict_label": "修改",
+      "dict_value": "2",
+      "dict_type": "sys_oper_type",
+      "css_class": "",
+      "list_class": "info",
+      "is_default": "N",
+      "status": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "修改操作"
+    },
+    {
+      "dict_code": 20,
+      "tenant_id": "000000",
+      "dict_sort": 3,
+      "dict_label": "删除",
+      "dict_value": "3",
+      "dict_type": "sys_oper_type",
+      "css_class": "",
+      "list_class": "danger",
+      "is_default": "N",
+      "status": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "删除操作"
+    },
+    {
+      "dict_code": 21,
+      "tenant_id": "000000",
+      "dict_sort": 4,
+      "dict_label": "授权",
+      "dict_value": "4",
+      "dict_type": "sys_oper_type",
+      "css_class": "",
+      "list_class": "primary",
+      "is_default": "N",
+      "status": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "授权操作"
+    },
+    {
+      "dict_code": 22,
+      "tenant_id": "000000",
+      "dict_sort": 5,
+      "dict_label": "导出",
+      "dict_value": "5",
+      "dict_type": "sys_oper_type",
+      "css_class": "",
+      "list_class": "warning",
+      "is_default": "N",
+      "status": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "导出操作"
+    },
+    {
+      "dict_code": 23,
+      "tenant_id": "000000",
+      "dict_sort": 6,
+      "dict_label": "导入",
+      "dict_value": "6",
+      "dict_type": "sys_oper_type",
+      "css_class": "",
+      "list_class": "warning",
+      "is_default": "N",
+      "status": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "导入操作"
+    },
+    {
+      "dict_code": 24,
+      "tenant_id": "000000",
+      "dict_sort": 7,
+      "dict_label": "强退",
+      "dict_value": "7",
+      "dict_type": "sys_oper_type",
+      "css_class": "",
+      "list_class": "danger",
+      "is_default": "N",
+      "status": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "强退操作"
+    },
+    {
+      "dict_code": 25,
+      "tenant_id": "000000",
+      "dict_sort": 8,
+      "dict_label": "生成代码",
+      "dict_value": "8",
+      "dict_type": "sys_oper_type",
+      "css_class": "",
+      "list_class": "warning",
+      "is_default": "N",
+      "status": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "生成操作"
+    },
+    {
+      "dict_code": 26,
+      "tenant_id": "000000",
+      "dict_sort": 9,
+      "dict_label": "清空数据",
+      "dict_value": "9",
+      "dict_type": "sys_oper_type",
+      "css_class": "",
+      "list_class": "danger",
+      "is_default": "N",
+      "status": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "清空操作"
+    },
+    {
+      "dict_code": 27,
+      "tenant_id": "000000",
+      "dict_sort": 1,
+      "dict_label": "成功",
+      "dict_value": "0",
+      "dict_type": "sys_common_status",
+      "css_class": "",
+      "list_class": "primary",
+      "is_default": "N",
+      "status": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "正常状态"
+    },
+    {
+      "dict_code": 28,
+      "tenant_id": "000000",
+      "dict_sort": 2,
+      "dict_label": "失败",
+      "dict_value": "1",
+      "dict_type": "sys_common_status",
+      "css_class": "",
+      "list_class": "danger",
+      "is_default": "N",
+      "status": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "停用状态"
+    },
+    {
+      "dict_code": 29,
+      "tenant_id": "000000",
+      "dict_sort": 99,
+      "dict_label": "其他",
+      "dict_value": "0",
+      "dict_type": "sys_oper_type",
+      "css_class": "",
+      "list_class": "info",
+      "is_default": "N",
+      "status": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "其他操作"
+    }
+  ]

+ 106 - 0
data/init/sys_dict_type.json

@@ -0,0 +1,106 @@
+ [
+    {
+      "dict_id": 1,
+      "tenant_id": "000000",
+      "dict_name": "用户性别",
+      "dict_type": "sys_user_sex",
+      "status": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "用户性别列表"
+    },
+    {
+      "dict_id": 2,
+      "tenant_id": "000000",
+      "dict_name": "菜单状态",
+      "dict_type": "sys_show_hide",
+      "status": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "菜单状态列表"
+    },
+    {
+      "dict_id": 3,
+      "tenant_id": "000000",
+      "dict_name": "系统开关",
+      "dict_type": "sys_normal_disable",
+      "status": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "系统开关列表"
+    },
+    {
+      "dict_id": 6,
+      "tenant_id": "000000",
+      "dict_name": "系统是否",
+      "dict_type": "sys_yes_no",
+      "status": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "系统是否列表"
+    },
+    {
+      "dict_id": 7,
+      "tenant_id": "000000",
+      "dict_name": "通知类型",
+      "dict_type": "sys_notice_type",
+      "status": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "通知类型列表"
+    },
+    {
+      "dict_id": 8,
+      "tenant_id": "000000",
+      "dict_name": "通知状态",
+      "dict_type": "sys_notice_status",
+      "status": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "通知状态列表"
+    },
+    {
+      "dict_id": 9,
+      "tenant_id": "000000",
+      "dict_name": "操作类型",
+      "dict_type": "sys_oper_type",
+      "status": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "操作类型列表"
+    },
+    {
+      "dict_id": 10,
+      "tenant_id": "000000",
+      "dict_name": "系统状态",
+      "dict_type": "sys_common_status",
+      "status": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "登录状态列表"
+    }
+  ]

+ 14 - 0
data/init/sys_logininfor.json

@@ -0,0 +1,14 @@
+ [
+    {
+      "info_id": 1665628533390614529,
+      "tenant_id": "000000",
+      "user_name": "admin",
+      "ipaddr": "127.0.0.1",
+      "login_location": "内网IP",
+      "browser": "Chrome",
+      "os": "Windows 10 or Windows Server 2016",
+      "status": "0",
+      "msg": "登录成功"
+
+    }
+  ]

+ 2114 - 0
data/init/sys_menu.json

@@ -0,0 +1,2114 @@
+ [
+    {
+      "menu_id": 1,
+      "menu_name": "系统管理",
+      "parent_id": 0,
+      "order_num": 1,
+      "path": "system",
+      "component": null,
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "M",
+      "visible": "0",
+      "status": "0",
+      "perms": "",
+      "icon": "system",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "系统管理目录"
+    },
+    {
+      "menu_id": 2,
+      "menu_name": "系统监控",
+      "parent_id": 0,
+      "order_num": 3,
+      "path": "monitor",
+      "component": null,
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "M",
+      "visible": "0",
+      "status": "0",
+      "perms": "",
+      "icon": "monitor",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "系统监控目录"
+    },
+    {
+      "menu_id": 3,
+      "menu_name": "系统工具",
+      "parent_id": 0,
+      "order_num": 4,
+      "path": "tool",
+      "component": null,
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "M",
+      "visible": "0",
+      "status": "0",
+      "perms": "",
+      "icon": "tool",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "系统工具目录"
+    },
+    {
+      "menu_id": 4,
+      "menu_name": "PLUS官网",
+      "parent_id": 0,
+      "order_num": 5,
+      "path": "https://gitee.com/dromara/RuoYi-Vue-Plus",
+      "component": null,
+      "query_param": "",
+      "is_frame": 0,
+      "is_cache": 0,
+      "menu_type": "M",
+      "visible": "0",
+      "status": "0",
+      "perms": "",
+      "icon": "guide",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "RuoYi-Vue-Plus官网地址"
+    },
+    {
+      "menu_id": 6,
+      "menu_name": "租户管理",
+      "parent_id": 0,
+      "order_num": 2,
+      "path": "tenant",
+      "component": null,
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "M",
+      "visible": "0",
+      "status": "0",
+      "perms": "",
+      "icon": "chart",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "租户管理目录"
+    },
+    {
+      "menu_id": 100,
+      "menu_name": "用户管理",
+      "parent_id": 1,
+      "order_num": 1,
+      "path": "user",
+      "component": "system/user/index",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "C",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:user:list",
+      "icon": "user",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "用户管理菜单"
+    },
+    {
+      "menu_id": 101,
+      "menu_name": "角色管理",
+      "parent_id": 1,
+      "order_num": 2,
+      "path": "role",
+      "component": "system/role/index",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "C",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:role:list",
+      "icon": "peoples",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "角色管理菜单"
+    },
+    {
+      "menu_id": 102,
+      "menu_name": "菜单管理",
+      "parent_id": 1,
+      "order_num": 3,
+      "path": "menu",
+      "component": "system/menu/index",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "C",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:menu:list",
+      "icon": "tree-table",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "菜单管理菜单"
+    },
+    {
+      "menu_id": 103,
+      "menu_name": "部门管理",
+      "parent_id": 1,
+      "order_num": 4,
+      "path": "dept",
+      "component": "system/dept/index",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "C",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:dept:list",
+      "icon": "tree",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "部门管理菜单"
+    },
+    {
+      "menu_id": 104,
+      "menu_name": "岗位管理",
+      "parent_id": 1,
+      "order_num": 5,
+      "path": "post",
+      "component": "system/post/index",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "C",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:post:list",
+      "icon": "post",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "岗位管理菜单"
+    },
+    {
+      "menu_id": 105,
+      "menu_name": "字典管理",
+      "parent_id": 1,
+      "order_num": 6,
+      "path": "dict",
+      "component": "system/dict/index",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "C",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:dict:list",
+      "icon": "dict",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "字典管理菜单"
+    },
+    {
+      "menu_id": 106,
+      "menu_name": "参数设置",
+      "parent_id": 1,
+      "order_num": 7,
+      "path": "config",
+      "component": "system/config/index",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "C",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:config:list",
+      "icon": "edit",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "参数设置菜单"
+    },
+    {
+      "menu_id": 107,
+      "menu_name": "通知公告",
+      "parent_id": 1,
+      "order_num": 8,
+      "path": "notice",
+      "component": "system/notice/index",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "C",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:notice:list",
+      "icon": "message",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "通知公告菜单"
+    },
+    {
+      "menu_id": 108,
+      "menu_name": "日志管理",
+      "parent_id": 1,
+      "order_num": 9,
+      "path": "log",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "M",
+      "visible": "0",
+      "status": "0",
+      "perms": "",
+      "icon": "log",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "日志管理菜单"
+    },
+    {
+      "menu_id": 109,
+      "menu_name": "在线用户",
+      "parent_id": 2,
+      "order_num": 1,
+      "path": "online",
+      "component": "monitor/online/index",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "C",
+      "visible": "0",
+      "status": "0",
+      "perms": "monitor:online:list",
+      "icon": "online",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "在线用户菜单"
+    },
+    {
+      "menu_id": 113,
+      "menu_name": "缓存监控",
+      "parent_id": 2,
+      "order_num": 5,
+      "path": "cache",
+      "component": "monitor/cache/index",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "C",
+      "visible": "0",
+      "status": "0",
+      "perms": "monitor:cache:list",
+      "icon": "redis",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "缓存监控菜单"
+    },
+    {
+      "menu_id": 114,
+      "menu_name": "表单构建",
+      "parent_id": 3,
+      "order_num": 1,
+      "path": "build",
+      "component": "tool/build/index",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "C",
+      "visible": "0",
+      "status": "0",
+      "perms": "tool:build:list",
+      "icon": "build",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "表单构建菜单"
+    },
+    {
+      "menu_id": 115,
+      "menu_name": "代码生成",
+      "parent_id": 3,
+      "order_num": 2,
+      "path": "gen",
+      "component": "tool/gen/index",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "C",
+      "visible": "0",
+      "status": "0",
+      "perms": "tool:gen:list",
+      "icon": "code",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "代码生成菜单"
+    },
+    {
+      "menu_id": 117,
+      "menu_name": "Admin监控",
+      "parent_id": 2,
+      "order_num": 5,
+      "path": "Admin",
+      "component": "monitor/admin/index",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "C",
+      "visible": "0",
+      "status": "0",
+      "perms": "monitor:admin:list",
+      "icon": "dashboard",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "Admin监控菜单"
+    },
+    {
+      "menu_id": 118,
+      "menu_name": "文件管理",
+      "parent_id": 1,
+      "order_num": 10,
+      "path": "oss",
+      "component": "system/oss/index",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "C",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:oss:list",
+      "icon": "upload",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "文件管理菜单"
+    },
+    {
+      "menu_id": 120,
+      "menu_name": "任务调度中心",
+      "parent_id": 2,
+      "order_num": 5,
+      "path": "XxlJob",
+      "component": "monitor/xxljob/index",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "C",
+      "visible": "0",
+      "status": "0",
+      "perms": "monitor:xxljob:list",
+      "icon": "job",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "Xxl-Job控制台菜单"
+    },
+    {
+      "menu_id": 121,
+      "menu_name": "租户管理",
+      "parent_id": 6,
+      "order_num": 1,
+      "path": "tenant",
+      "component": "system/tenant/index",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "C",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:tenant:list",
+      "icon": "list",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "租户管理菜单"
+    },
+    {
+      "menu_id": 122,
+      "menu_name": "租户套餐管理",
+      "parent_id": 6,
+      "order_num": 2,
+      "path": "tenantPackage",
+      "component": "system/tenantPackage/index",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "C",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:tenantPackage:list",
+      "icon": "form",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "租户套餐管理菜单"
+    },
+    {
+      "menu_id": 500,
+      "menu_name": "操作日志",
+      "parent_id": 108,
+      "order_num": 1,
+      "path": "operlog",
+      "component": "monitor/operlog/index",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "C",
+      "visible": "0",
+      "status": "0",
+      "perms": "monitor:operlog:list",
+      "icon": "form",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "操作日志菜单"
+    },
+    {
+      "menu_id": 501,
+      "menu_name": "登录日志",
+      "parent_id": 108,
+      "order_num": 2,
+      "path": "logininfor",
+      "component": "monitor/logininfor/index",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "C",
+      "visible": "0",
+      "status": "0",
+      "perms": "monitor:logininfor:list",
+      "icon": "logininfor",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "登录日志菜单"
+    },
+    {
+      "menu_id": 1001,
+      "menu_name": "用户查询",
+      "parent_id": 100,
+      "order_num": 1,
+      "path": "",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:user:query",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1002,
+      "menu_name": "用户新增",
+      "parent_id": 100,
+      "order_num": 2,
+      "path": "",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:user:add",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1003,
+      "menu_name": "用户修改",
+      "parent_id": 100,
+      "order_num": 3,
+      "path": "",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:user:edit",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1004,
+      "menu_name": "用户删除",
+      "parent_id": 100,
+      "order_num": 4,
+      "path": "",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:user:remove",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1005,
+      "menu_name": "用户导出",
+      "parent_id": 100,
+      "order_num": 5,
+      "path": "",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:user:export",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1006,
+      "menu_name": "用户导入",
+      "parent_id": 100,
+      "order_num": 6,
+      "path": "",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:user:import",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1007,
+      "menu_name": "重置密码",
+      "parent_id": 100,
+      "order_num": 7,
+      "path": "",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:user:resetPwd",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1008,
+      "menu_name": "角色查询",
+      "parent_id": 101,
+      "order_num": 1,
+      "path": "",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:role:query",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1009,
+      "menu_name": "角色新增",
+      "parent_id": 101,
+      "order_num": 2,
+      "path": "",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:role:add",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1010,
+      "menu_name": "角色修改",
+      "parent_id": 101,
+      "order_num": 3,
+      "path": "",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:role:edit",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1011,
+      "menu_name": "角色删除",
+      "parent_id": 101,
+      "order_num": 4,
+      "path": "",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:role:remove",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1012,
+      "menu_name": "角色导出",
+      "parent_id": 101,
+      "order_num": 5,
+      "path": "",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:role:export",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1013,
+      "menu_name": "菜单查询",
+      "parent_id": 102,
+      "order_num": 1,
+      "path": "",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:menu:query",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1014,
+      "menu_name": "菜单新增",
+      "parent_id": 102,
+      "order_num": 2,
+      "path": "",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:menu:add",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1015,
+      "menu_name": "菜单修改",
+      "parent_id": 102,
+      "order_num": 3,
+      "path": "",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:menu:edit",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1016,
+      "menu_name": "菜单删除",
+      "parent_id": 102,
+      "order_num": 4,
+      "path": "",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:menu:remove",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1017,
+      "menu_name": "部门查询",
+      "parent_id": 103,
+      "order_num": 1,
+      "path": "",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:dept:query",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1018,
+      "menu_name": "部门新增",
+      "parent_id": 103,
+      "order_num": 2,
+      "path": "",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:dept:add",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1019,
+      "menu_name": "部门修改",
+      "parent_id": 103,
+      "order_num": 3,
+      "path": "",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:dept:edit",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1020,
+      "menu_name": "部门删除",
+      "parent_id": 103,
+      "order_num": 4,
+      "path": "",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:dept:remove",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1021,
+      "menu_name": "岗位查询",
+      "parent_id": 104,
+      "order_num": 1,
+      "path": "",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:post:query",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1022,
+      "menu_name": "岗位新增",
+      "parent_id": 104,
+      "order_num": 2,
+      "path": "",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:post:add",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1023,
+      "menu_name": "岗位修改",
+      "parent_id": 104,
+      "order_num": 3,
+      "path": "",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:post:edit",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1024,
+      "menu_name": "岗位删除",
+      "parent_id": 104,
+      "order_num": 4,
+      "path": "",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:post:remove",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1025,
+      "menu_name": "岗位导出",
+      "parent_id": 104,
+      "order_num": 5,
+      "path": "",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:post:export",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1026,
+      "menu_name": "字典查询",
+      "parent_id": 105,
+      "order_num": 1,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:dict:query",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1027,
+      "menu_name": "字典新增",
+      "parent_id": 105,
+      "order_num": 2,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:dict:add",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1028,
+      "menu_name": "字典修改",
+      "parent_id": 105,
+      "order_num": 3,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:dict:edit",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1029,
+      "menu_name": "字典删除",
+      "parent_id": 105,
+      "order_num": 4,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:dict:remove",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1030,
+      "menu_name": "字典导出",
+      "parent_id": 105,
+      "order_num": 5,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:dict:export",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1031,
+      "menu_name": "参数查询",
+      "parent_id": 106,
+      "order_num": 1,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:config:query",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1032,
+      "menu_name": "参数新增",
+      "parent_id": 106,
+      "order_num": 2,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:config:add",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1033,
+      "menu_name": "参数修改",
+      "parent_id": 106,
+      "order_num": 3,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:config:edit",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1034,
+      "menu_name": "参数删除",
+      "parent_id": 106,
+      "order_num": 4,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:config:remove",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1035,
+      "menu_name": "参数导出",
+      "parent_id": 106,
+      "order_num": 5,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:config:export",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1036,
+      "menu_name": "公告查询",
+      "parent_id": 107,
+      "order_num": 1,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:notice:query",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1037,
+      "menu_name": "公告新增",
+      "parent_id": 107,
+      "order_num": 2,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:notice:add",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1038,
+      "menu_name": "公告修改",
+      "parent_id": 107,
+      "order_num": 3,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:notice:edit",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1039,
+      "menu_name": "公告删除",
+      "parent_id": 107,
+      "order_num": 4,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:notice:remove",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1040,
+      "menu_name": "操作查询",
+      "parent_id": 500,
+      "order_num": 1,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "monitor:operlog:query",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1041,
+      "menu_name": "操作删除",
+      "parent_id": 500,
+      "order_num": 2,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "monitor:operlog:remove",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1042,
+      "menu_name": "日志导出",
+      "parent_id": 500,
+      "order_num": 4,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "monitor:operlog:export",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1043,
+      "menu_name": "登录查询",
+      "parent_id": 501,
+      "order_num": 1,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "monitor:logininfor:query",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1044,
+      "menu_name": "登录删除",
+      "parent_id": 501,
+      "order_num": 2,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "monitor:logininfor:remove",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1045,
+      "menu_name": "日志导出",
+      "parent_id": 501,
+      "order_num": 3,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "monitor:logininfor:export",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1046,
+      "menu_name": "在线查询",
+      "parent_id": 109,
+      "order_num": 1,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "monitor:online:query",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1047,
+      "menu_name": "批量强退",
+      "parent_id": 109,
+      "order_num": 2,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "monitor:online:batchLogout",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1048,
+      "menu_name": "单条强退",
+      "parent_id": 109,
+      "order_num": 3,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "monitor:online:forceLogout",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1050,
+      "menu_name": "账户解锁",
+      "parent_id": 501,
+      "order_num": 4,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "monitor:logininfor:unlock",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1055,
+      "menu_name": "生成查询",
+      "parent_id": 115,
+      "order_num": 1,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "tool:gen:query",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1056,
+      "menu_name": "生成修改",
+      "parent_id": 115,
+      "order_num": 2,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "tool:gen:edit",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1057,
+      "menu_name": "生成删除",
+      "parent_id": 115,
+      "order_num": 3,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "tool:gen:remove",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1058,
+      "menu_name": "导入代码",
+      "parent_id": 115,
+      "order_num": 2,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "tool:gen:import",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1059,
+      "menu_name": "预览代码",
+      "parent_id": 115,
+      "order_num": 4,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "tool:gen:preview",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1060,
+      "menu_name": "生成代码",
+      "parent_id": 115,
+      "order_num": 5,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "tool:gen:code",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1600,
+      "menu_name": "文件查询",
+      "parent_id": 118,
+      "order_num": 1,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:oss:query",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1601,
+      "menu_name": "文件上传",
+      "parent_id": 118,
+      "order_num": 2,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:oss:upload",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1602,
+      "menu_name": "文件下载",
+      "parent_id": 118,
+      "order_num": 3,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:oss:download",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1603,
+      "menu_name": "文件删除",
+      "parent_id": 118,
+      "order_num": 4,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:oss:remove",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1604,
+      "menu_name": "配置添加",
+      "parent_id": 118,
+      "order_num": 5,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:oss:add",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1605,
+      "menu_name": "配置编辑",
+      "parent_id": 118,
+      "order_num": 6,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:oss:edit",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1606,
+      "menu_name": "租户查询",
+      "parent_id": 121,
+      "order_num": 1,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:tenant:query",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1607,
+      "menu_name": "租户新增",
+      "parent_id": 121,
+      "order_num": 2,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:tenant:add",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1608,
+      "menu_name": "租户修改",
+      "parent_id": 121,
+      "order_num": 3,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:tenant:edit",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1609,
+      "menu_name": "租户删除",
+      "parent_id": 121,
+      "order_num": 4,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:tenant:remove",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1610,
+      "menu_name": "租户导出",
+      "parent_id": 121,
+      "order_num": 5,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:tenant:export",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1611,
+      "menu_name": "租户套餐查询",
+      "parent_id": 122,
+      "order_num": 1,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:tenantPackage:query",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1612,
+      "menu_name": "租户套餐新增",
+      "parent_id": 122,
+      "order_num": 2,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:tenantPackage:add",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1613,
+      "menu_name": "租户套餐修改",
+      "parent_id": 122,
+      "order_num": 3,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:tenantPackage:edit",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1614,
+      "menu_name": "租户套餐删除",
+      "parent_id": 122,
+      "order_num": 4,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:tenantPackage:remove",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "menu_id": 1615,
+      "menu_name": "租户套餐导出",
+      "parent_id": 122,
+      "order_num": 5,
+      "path": "#",
+      "component": "",
+      "query_param": "",
+      "is_frame": 1,
+      "is_cache": 0,
+      "menu_type": "F",
+      "visible": "0",
+      "status": "0",
+      "perms": "system:tenantPackage:export",
+      "icon": "#",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    }
+  ]

+ 30 - 0
data/init/sys_notice.json

@@ -0,0 +1,30 @@
+ [
+    {
+      "notice_id": 1,
+      "tenant_id": "000000",
+      "notice_title": "温馨提醒:2018-07-01 新版本发布啦",
+      "notice_type": "2",
+      "notice_content": "5paw54mI5pys5YaF5a65",
+      "status": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "管理员"
+    },
+    {
+      "notice_id": 2,
+      "tenant_id": "000000",
+      "notice_title": "维护通知:2018-07-01 系统凌晨维护",
+      "notice_type": "1",
+      "notice_content": "57u05oqk5YaF5a65",
+      "status": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "管理员"
+    }
+  ]

+ 22 - 0
data/init/sys_oper_log.json

@@ -0,0 +1,22 @@
+ [
+    {
+      "oper_id": 1665641342438514690,
+      "tenant_id": "000000",
+      "title": "代码生成",
+      "business_type": 6,
+      "method": "org.dromara.generator.controller.GenController.importTableSave()",
+      "request_method": "POST",
+      "operator_type": 1,
+      "oper_name": "admin",
+      "dept_name": "",
+      "oper_url": "/tool/gen/importTable",
+      "oper_ip": "127.0.0.1",
+      "oper_location": "内网IP",
+      "oper_param": "\"sys_role_dept,sys_role_menu,sys_config,sys_dict_data,sys_dict_type,sys_logininfor,sys_notice,sys_oper_log,sys_oss,sys_oss_config\"",
+      "json_result": "{\"code\":200,\"msg\":\"操作成功\",\"data\":null}",
+      "status": 0,
+      "error_msg": "",
+
+      "cost_time": 199
+    }
+  ]

+ 1 - 0
data/init/sys_oss.json

@@ -0,0 +1 @@
+ []

+ 112 - 0
data/init/sys_oss_config.json

@@ -0,0 +1,112 @@
+ [
+    {
+      "oss_config_id": 1,
+      "tenant_id": "000000",
+      "config_key": "minio",
+      "access_key": "ruoyi",
+      "secret_key": "ruoyi123",
+      "bucket_name": "ruoyi",
+      "prefix": "",
+      "endpoint": "127.0.0.1:9000",
+      "domain": "",
+      "is_https": "N",
+      "region": "",
+      "access_policy": "1",
+      "status": "0",
+      "ext1": "",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": 1,
+
+      "remark": null
+    },
+    {
+      "oss_config_id": 2,
+      "tenant_id": "000000",
+      "config_key": "qiniu",
+      "access_key": "XXXXXXXXXXXXXXX",
+      "secret_key": "XXXXXXXXXXXXXXX",
+      "bucket_name": "ruoyi",
+      "prefix": "",
+      "endpoint": "s3-cn-north-1.qiniucs.com",
+      "domain": "",
+      "is_https": "N",
+      "region": "",
+      "access_policy": "1",
+      "status": "1",
+      "ext1": "",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": 1,
+
+      "remark": null
+    },
+    {
+      "oss_config_id": 3,
+      "tenant_id": "000000",
+      "config_key": "aliyun",
+      "access_key": "XXXXXXXXXXXXXXX",
+      "secret_key": "XXXXXXXXXXXXXXX",
+      "bucket_name": "ruoyi",
+      "prefix": "",
+      "endpoint": "oss-cn-beijing.aliyuncs.com",
+      "domain": "",
+      "is_https": "N",
+      "region": "",
+      "access_policy": "1",
+      "status": "1",
+      "ext1": "",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": 1,
+
+      "remark": null
+    },
+    {
+      "oss_config_id": 4,
+      "tenant_id": "000000",
+      "config_key": "qcloud",
+      "access_key": "XXXXXXXXXXXXXXX",
+      "secret_key": "XXXXXXXXXXXXXXX",
+      "bucket_name": "ruoyi-1250000000",
+      "prefix": "",
+      "endpoint": "cos.ap-beijing.myqcloud.com",
+      "domain": "",
+      "is_https": "N",
+      "region": "ap-beijing",
+      "access_policy": "1",
+      "status": "1",
+      "ext1": "",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": 1,
+
+      "remark": null
+    },
+    {
+      "oss_config_id": 5,
+      "tenant_id": "000000",
+      "config_key": "image",
+      "access_key": "ruoyi",
+      "secret_key": "ruoyi123",
+      "bucket_name": "ruoyi",
+      "prefix": "image",
+      "endpoint": "127.0.0.1:9000",
+      "domain": "",
+      "is_https": "N",
+      "region": "",
+      "access_policy": "1",
+      "status": "1",
+      "ext1": "",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": 1,
+
+      "remark": null
+    }
+  ]

+ 58 - 0
data/init/sys_post.json

@@ -0,0 +1,58 @@
+ [
+    {
+      "post_id": 1,
+      "tenant_id": "000000",
+      "post_code": "ceo",
+      "post_name": "董事长",
+      "post_sort": 1,
+      "status": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "post_id": 2,
+      "tenant_id": "000000",
+      "post_code": "se",
+      "post_name": "项目经理",
+      "post_sort": 2,
+      "status": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "post_id": 3,
+      "tenant_id": "000000",
+      "post_code": "hr",
+      "post_name": "人力资源",
+      "post_sort": 3,
+      "status": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    },
+    {
+      "post_id": 4,
+      "tenant_id": "000000",
+      "post_code": "user",
+      "post_name": "普通员工",
+      "post_sort": 4,
+      "status": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": ""
+    }
+  ]

+ 38 - 0
data/init/sys_role.json

@@ -0,0 +1,38 @@
+ [
+    {
+      "role_id": 1,
+      "tenant_id": "000000",
+      "role_name": "超级管理员",
+      "role_key": "superadmin",
+      "role_sort": 1,
+      "data_scope": "1",
+      "menu_check_strictly": 1,
+      "dept_check_strictly": 1,
+      "status": "0",
+      "del_flag": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "超级管理员"
+    },
+    {
+      "role_id": 2,
+      "tenant_id": "000000",
+      "role_name": "普通角色",
+      "role_key": "common",
+      "role_sort": 2,
+      "data_scope": "2",
+      "menu_check_strictly": 1,
+      "dept_check_strictly": 1,
+      "status": "0",
+      "del_flag": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "普通角色"
+    }
+  ]

+ 14 - 0
data/init/sys_role_dept.json

@@ -0,0 +1,14 @@
+ [
+    {
+      "role_id": 2,
+      "dept_id": 100
+    },
+    {
+      "role_id": 2,
+      "dept_id": 101
+    },
+    {
+      "role_id": 2,
+      "dept_id": 105
+    }
+  ]

+ 318 - 0
data/init/sys_role_menu.json

@@ -0,0 +1,318 @@
+ [
+    {
+      "role_id": 2,
+      "menu_id": 1
+    },
+    {
+      "role_id": 2,
+      "menu_id": 2
+    },
+    {
+      "role_id": 2,
+      "menu_id": 3
+    },
+    {
+      "role_id": 2,
+      "menu_id": 4
+    },
+    {
+      "role_id": 2,
+      "menu_id": 100
+    },
+    {
+      "role_id": 2,
+      "menu_id": 101
+    },
+    {
+      "role_id": 2,
+      "menu_id": 102
+    },
+    {
+      "role_id": 2,
+      "menu_id": 103
+    },
+    {
+      "role_id": 2,
+      "menu_id": 104
+    },
+    {
+      "role_id": 2,
+      "menu_id": 105
+    },
+    {
+      "role_id": 2,
+      "menu_id": 106
+    },
+    {
+      "role_id": 2,
+      "menu_id": 107
+    },
+    {
+      "role_id": 2,
+      "menu_id": 108
+    },
+    {
+      "role_id": 2,
+      "menu_id": 109
+    },
+    {
+      "role_id": 2,
+      "menu_id": 110
+    },
+    {
+      "role_id": 2,
+      "menu_id": 111
+    },
+    {
+      "role_id": 2,
+      "menu_id": 112
+    },
+    {
+      "role_id": 2,
+      "menu_id": 113
+    },
+    {
+      "role_id": 2,
+      "menu_id": 114
+    },
+    {
+      "role_id": 2,
+      "menu_id": 115
+    },
+    {
+      "role_id": 2,
+      "menu_id": 116
+    },
+    {
+      "role_id": 2,
+      "menu_id": 500
+    },
+    {
+      "role_id": 2,
+      "menu_id": 501
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1000
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1001
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1002
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1003
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1004
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1005
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1006
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1007
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1008
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1009
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1010
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1011
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1012
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1013
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1014
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1015
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1016
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1017
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1018
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1019
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1020
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1021
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1022
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1023
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1024
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1025
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1026
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1027
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1028
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1029
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1030
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1031
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1032
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1033
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1034
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1035
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1036
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1037
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1038
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1039
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1040
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1041
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1042
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1043
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1044
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1045
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1046
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1047
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1048
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1050
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1055
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1056
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1057
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1058
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1059
+    },
+    {
+      "role_id": 2,
+      "menu_id": 1060
+    }
+  ]

+ 24 - 0
data/init/sys_tenant.json

@@ -0,0 +1,24 @@
+ [
+    {
+      "id": 1,
+      "tenant_id": "000000",
+      "contact_user_name": "管理组",
+      "contact_phone": "15888888888",
+      "company_name": "XXX有限公司",
+      "license_number": null,
+      "address": null,
+      "intro": "多租户通用后台管理管理系统",
+      "domain": null,
+      "remark": null,
+      "package_id": null,
+      "expire_time": null,
+      "account_count": -1,
+      "status": "0",
+      "del_flag": "0",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null
+    }
+  ]

+ 1 - 0
data/init/sys_tenant_package.json

@@ -0,0 +1 @@
+ []

+ 48 - 0
data/init/sys_user.json

@@ -0,0 +1,48 @@
+ [
+    {
+      "user_id": 1,
+      "tenant_id": "000000",
+      "dept_id": 103,
+      "user_name": "admin",
+      "nick_name": "疯狂的狮子Li",
+      "user_type": "sys_user",
+      "email": "crazyLionLi@163.com",
+      "phonenumber": "15888888888",
+      "sex": "1",
+      "avatar": null,
+      "password": "$2a$10$7JB720yubVSZvUI0rEqK/.VqGOZTH.ulu33dHOiBE8ByOhJIrdAu2",
+      "status": "0",
+      "del_flag": "0",
+      "login_ip": "127.0.0.1",
+      "login_date": "5/6/2023 15:56:03",
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": 1,
+
+      "remark": "管理员"
+    },
+    {
+      "user_id": 2,
+      "tenant_id": "000000",
+      "dept_id": 105,
+      "user_name": "lionli",
+      "nick_name": "疯狂的狮子Li",
+      "user_type": "sys_user",
+      "email": "crazyLionLi@qq.com",
+      "phonenumber": "15666666666",
+      "sex": "1",
+      "avatar": null,
+      "password": "$2a$10$7JB720yubVSZvUI0rEqK/.VqGOZTH.ulu33dHOiBE8ByOhJIrdAu2",
+      "status": "0",
+      "del_flag": "0",
+      "login_ip": "127.0.0.1",
+
+      "create_dept": 103,
+      "create_by": 1,
+
+      "update_by": null,
+      "update_time": null,
+      "remark": "测试员"
+    }
+  ]

+ 10 - 0
data/init/sys_user_post.json

@@ -0,0 +1,10 @@
+ [
+    {
+      "user_id": 1,
+      "post_id": 1
+    },
+    {
+      "user_id": 2,
+      "post_id": 2
+    }
+  ]

+ 10 - 0
data/init/sys_user_role.json

@@ -0,0 +1,10 @@
+ [
+    {
+      "user_id": 1,
+      "role_id": 1
+    },
+    {
+      "user_id": 2,
+      "role_id": 2
+    }
+  ]

+ 125 - 0
iot-module/iot-manager/src/main/java/cc/iotkit/manager/service/ExampleDataInit.java

@@ -12,6 +12,7 @@ package cc.iotkit.manager.service;
 import cc.iotkit.common.utils.JsonUtils;
 import cc.iotkit.data.ICommonData;
 import cc.iotkit.data.manager.*;
+import cc.iotkit.data.system.*;
 import cc.iotkit.model.Id;
 import cc.iotkit.model.OauthClient;
 import cc.iotkit.model.UserInfo;
@@ -30,6 +31,7 @@ import cc.iotkit.model.rule.TaskInfo;
 import cc.iotkit.model.space.Home;
 import cc.iotkit.model.space.Space;
 import cc.iotkit.model.space.SpaceDevice;
+import cc.iotkit.model.system.*;
 import cc.iotkit.temporal.IDbStructureData;
 import com.fasterxml.jackson.core.type.TypeReference;
 import com.google.common.base.Charsets;
@@ -88,6 +90,64 @@ public class ExampleDataInit implements SmartInitializingSingleton {
     @Autowired
     private IChannelData iChannelData;
 
+    @Autowired
+    private ISysDeptData sysDeptData;
+
+    @Autowired
+    private ISysMenuData sysMenuData;
+
+
+    @Autowired
+    private ISysPostData sysPostData;
+
+    @Autowired
+    private ISysRoleData sysRoleData;
+
+    @Autowired
+    private ISysUserData sysUserData;
+
+    @Autowired
+    private ISysTenantData sysTenantData;
+
+    @Autowired
+    private ISysConfigData sysConfigData;
+
+    @Autowired
+    private ISysDictData sysDictData;
+
+    @Autowired
+    private ISysDictTypeData sysDictTypeData;
+
+    @Autowired
+    private ISysLogininforData sysLogininforData;
+
+    @Autowired
+    private ISysNoticeData sysNoticeData;
+
+    @Autowired
+    private ISysOperLogData sysOperLogData;
+
+    @Autowired
+    private ISysOssData sysOssData;
+
+    @Autowired
+    private ISysOssConfigData sysOssConfigData;
+
+    @Autowired
+    private ISysRoleDeptData sysRoleDeptData;
+
+    @Autowired
+    private ISysRoleMenuData sysRoleMenuData;
+
+    @Autowired
+    private ISysTenantPackageData sysTenantPackageData;
+
+    @Autowired
+    private ISysUserPostData sysUserPostData;
+
+    @Autowired
+    private ISysUserRoleData sysUserRoleData;
+
     @Override
     public void afterSingletonsInstantiated() {
         //等redis实例化后再执行
@@ -141,6 +201,8 @@ public class ExampleDataInit implements SmartInitializingSingleton {
                     initData("channel", iChannelData, new TypeReference<List<Channel>>() {
                     });
 
+                    initSysData();
+
                     log.info("init data finished.");
 
                     FileUtils.write(initFile, "", Charsets.UTF_8);
@@ -153,6 +215,69 @@ public class ExampleDataInit implements SmartInitializingSingleton {
 
     }
 
+    private void initSysData() throws IOException {
+        initData("sys_config", sysConfigData, new TypeReference<List<SysConfig>>() {
+        });
+
+        initData("sys_dept", sysDeptData, new TypeReference<List<SysDept>>() {
+        });
+
+        initData("sys_dict_data", sysDictData, new TypeReference<List<SysDictData>>() {
+        });
+
+        initData("sys_dict_type", sysDictTypeData, new TypeReference<List<SysDictType>>() {
+        });
+
+        initData("sys_logininfor", sysLogininforData, new TypeReference<List<SysLogininfor>>() {
+        });
+        initData("sys_menu", sysMenuData, new TypeReference<List<SysMenu>>() {
+        });
+
+        initData("sys_notice", sysNoticeData, new TypeReference<List<SysNotice>>() {
+        });
+
+        initData("sys_oper_log", sysOperLogData, new TypeReference<List<SysOperLog>>() {
+        });
+
+
+        initData("sys_oss", sysOssData, new TypeReference<List<SysOss>>() {
+        });
+
+        initData("sys_oss_config", sysOssConfigData, new TypeReference<List<SysOssConfig>>() {
+        });
+
+        initData("sys_post", sysPostData, new TypeReference<List<SysPost>>() {
+        });
+        initData("sys_role", sysRoleData, new TypeReference<List<SysRole>>() {
+        });
+
+        initData("sys_dept", sysDeptData, new TypeReference<List<SysDept>>() {
+        });
+
+        initData("sys_role_dept", sysRoleDeptData, new TypeReference<List<SysRoleDept>>() {
+        });
+
+
+        initData("sys_role_menu", sysRoleMenuData, new TypeReference<List<SysRoleMenu>>() {
+        });
+
+
+        initData("sys_tenant",sysTenantData , new TypeReference<List<SysTenant>>() {
+        });
+
+        initData("sys_tenant_package", sysTenantPackageData, new TypeReference<List<SysTenantPackage>>() {
+        });
+
+        initData("sys_user", sysUserData, new TypeReference<List<SysUser>>() {
+        });
+
+        initData("sys_user_post", sysUserPostData, new TypeReference<List<SysUserPost>>() {
+        });
+
+        initData("sys_user_role", sysUserRoleData, new TypeReference<List<SysUserRole>>() {
+        });
+    }
+
     private <T> T initData(String name, ICommonData service, TypeReference<T> type) throws IOException {
         log.info("init {} data...", name);
         String json = FileUtils.readFileToString(new File("./data/init/" + name + ".json"), Charsets.UTF_8);