From 4e74d71517f532c64f5bb8a1fdd36306a7f5eb3f Mon Sep 17 00:00:00 2001 From: huxin02 Date: Fri, 14 Feb 2025 16:39:31 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E7=94=A8=E6=88=B7=E5=85=B3?= =?UTF-8?q?=E8=81=94=E4=BF=A1=E6=81=AF=E6=96=87=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/documents/用户关联信息2.txt | 73 ++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 client/documents/用户关联信息2.txt diff --git a/client/documents/用户关联信息2.txt b/client/documents/用户关联信息2.txt new file mode 100644 index 0000000..f7ad278 --- /dev/null +++ b/client/documents/用户关联信息2.txt @@ -0,0 +1,73 @@ +//返回数据 +{ + "code": "200", + "success": true, + "data": [ + { + "gncdbh": "WORK-PLATFORM_0020", + "gncdmc": "任务中心", + "sjgnbh": "0", + "xssx": 1, + "name": "任务中心", + "path": "/rwzx", + "component": "Layout", + "hidden": false, + "meta": { + "menuId": "WORK-PLATFORM_0020", + "title": "任务中心", + "icon": "zngzt_rwzx", + "noCache": null + }, + "gncdlx": "M", + "sfwl": null, + "children": [ + { + "gncdbh": "WORK-PLATFORM_0219", + "gncdmc": "全部任务", + "sjgnbh": "WORK-PLATFORM_0020", + "xssx": 1, + "name": "全部任务", + "path": "qbrw", + "component": "Frame", + "hidden": false, + "meta": { + "menuId": "WORK-PLATFORM_0219", + "title": "全部任务", + "icon": "zngzt_qbrw", + "noCache": null + }, + "gncdlx": "C", + "sfwl": 1 + }, + +//转换的实体类 +@Data +public class SysClientMenuVo { + private Long id; + private String name; + private String path; //路由地址 + private boolean hidden; //是否隐藏 + private String component; + + + private Integer sfwl; + private String gncdlx; //菜单类型 + + private String sjgnbh; + private String gncdbh; //功能菜单名称 + private String gncdmc; //功能菜单编号 + private Integer xssx; //显示顺序 + + private Meta meta; + private List children; + + @Data + public class Meta { + private String menuId; //功能菜单编号 + private String title; //标题 + private String icon; //显示图标 + private Integer noCache; + + } + +} \ No newline at end of file