1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| package com.ruoyi.service;
|
| import com.baomidou.mybatisplus.extension.service.IService;
| import com.ruoyi.domain.SysUserRole1;
|
| /**
| * @Version 1.0
| * @Author Jin_quan Ou
| * @Date 2023-03-13 0:06
| */
| public interface ZfRegisterService extends IService<SysUserRole1> {
| //给用户设置身份
| void setRoleToUser(Long userId,Long roleId);
|
| //查询用户身份
| SysUserRole1 selectUserRole(Long userId);
|
| }
|
|