From f57b61344434db3251d7900a195b1b0c5958e311 Mon Sep 17 00:00:00 2001 From: hxrui <1490493387@qq.com> Date: Thu, 4 Feb 2021 17:05:56 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E8=A7=92=E8=89=B2=E6=9D=83=E9=99=90?= =?UTF-8?q?=E5=88=86=E9=85=8D=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- .../youlai/admin/pojo/dto/RolePermissionDTO.java | 13 +++++++++++++ .../com/youlai/admin/pojo/entity/SysPermission.java | 2 +- .../java/com/youlai/admin/pojo/vo/PermissionVO.java | 11 ----------- 4 files changed, 15 insertions(+), 13 deletions(-) create mode 100644 youlai-admin/admin-api/src/main/java/com/youlai/admin/pojo/dto/RolePermissionDTO.java delete mode 100644 youlai-admin/admin-api/src/main/java/com/youlai/admin/pojo/vo/PermissionVO.java diff --git a/README.md b/README.md index 10ffde17b..2e9d084bd 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ youlai-mall是集成当前最新主流技术一套开源的商城系统。整个 ![](https://i.loli.net/2021/01/02/QDU9okJbvuVrxwc.png) -**体验码,加我微信(微信号:haoxianrui)备注“体验”获取体验** +**【有来商城】微信小程序体验码,微信识别点击申请,看到第一时间会通过** ![](https://i.loli.net/2021/01/02/ZesKNr17FBUlWGE.jpg) diff --git a/youlai-admin/admin-api/src/main/java/com/youlai/admin/pojo/dto/RolePermissionDTO.java b/youlai-admin/admin-api/src/main/java/com/youlai/admin/pojo/dto/RolePermissionDTO.java new file mode 100644 index 000000000..c4ffb450c --- /dev/null +++ b/youlai-admin/admin-api/src/main/java/com/youlai/admin/pojo/dto/RolePermissionDTO.java @@ -0,0 +1,13 @@ +package com.youlai.admin.pojo.dto; +import lombok.Data; +import lombok.experimental.Accessors; + +import java.util.List; + +@Data +@Accessors(chain = true) +public class RolePermissionDTO { + private Long roleId; + private List permissionIds; + private Integer type; +} diff --git a/youlai-admin/admin-api/src/main/java/com/youlai/admin/pojo/entity/SysPermission.java b/youlai-admin/admin-api/src/main/java/com/youlai/admin/pojo/entity/SysPermission.java index 6a935ab08..184a99f79 100644 --- a/youlai-admin/admin-api/src/main/java/com/youlai/admin/pojo/entity/SysPermission.java +++ b/youlai-admin/admin-api/src/main/java/com/youlai/admin/pojo/entity/SysPermission.java @@ -15,7 +15,7 @@ public class SysPermission extends BaseEntity { @TableId(type = IdType.AUTO) private Long id; private String name; - private String permission; + private String perms; private Long menuId; private Integer type; diff --git a/youlai-admin/admin-api/src/main/java/com/youlai/admin/pojo/vo/PermissionVO.java b/youlai-admin/admin-api/src/main/java/com/youlai/admin/pojo/vo/PermissionVO.java deleted file mode 100644 index ab870b2c6..000000000 --- a/youlai-admin/admin-api/src/main/java/com/youlai/admin/pojo/vo/PermissionVO.java +++ /dev/null @@ -1,11 +0,0 @@ -package com.youlai.admin.pojo.vo; - -import lombok.Data; - -import java.util.List; - -@Data -public class PermissionVO { - List permissions; - List checkedKeys; -}