1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
| package com.nova.sankuai.service;
|
| import com.baomidou.mybatisplus.extension.service.IService;
| import com.nova.sankuai.domain.entity.RoleUser;
|
| import java.util.List;
|
| /**
| * <p>
| * description
| * </p>
| *
| * @author denglb 2021/11/18
| */
| public interface IRoleUserService extends IService<RoleUser> {
|
|
| /**
| * 分配角色
| *
| * @param roleIds
| * @param userId
| */
| void assignRoles(List<Long> roleIds, Long userId);
|
|
| /**
| * 分配默认角色
| *
| * @param userId
| * @param type
| */
| void setDefaultRole(Long userId, Integer type);
| }
|
|