mirror of
https://gitee.com/youlaitech/youlai-mall.git
synced 2024-12-23 05:00:25 +08:00
feat:角色权限分配接口
This commit is contained in:
parent
37b253e53e
commit
f57b613444
@ -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)
|
||||
|
||||
|
@ -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;
|
||||
}
|
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user