1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| import { defHttp } from '#/api/request';
|
| enum Api {
| Prefix = '/api/permission/UserRelation',
| }
|
| // 关联用户列表
| export function getUserRelation(data) {
| return defHttp.get({ url: `${Api.Prefix}/userList`, data });
| }
| // 添加用户关联
| export function addUserRelation(data) {
| return defHttp.post({ url: `${Api.Prefix}`, data });
| }
| // 移除用户关联
| export function removeUserRelation(data) {
| return defHttp.post({ url: `${Api.Prefix}/delete`, data });
| }
|
|