feat:角色权限分配接口

This commit is contained in:
hxrui 2021-02-04 17:05:56 +08:00
parent 37b253e53e
commit f57b613444
4 changed files with 15 additions and 13 deletions

View File

@ -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)

View File

@ -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<Long> permissionIds;
private Integer type;
}

View File

@ -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;

View File

@ -1,11 +0,0 @@
package com.youlai.admin.pojo.vo;
import lombok.Data;
import java.util.List;
@Data
public class PermissionVO {
List<TreeVO> permissions;
List<Long> checkedKeys;
}