serv\web- 多租户修改
This commit is contained in:
@@ -96,13 +96,13 @@ export const deptApi = {
|
||||
|
||||
/**
|
||||
* @description 查询部门角色列表
|
||||
* @param dept 部门角色信息
|
||||
* @param deptRole 部门角色信息
|
||||
* @returns Promise<ResultDomain<SysDeptRole>> 部门角色列表
|
||||
* @author yslg
|
||||
* @ since 2025-10-06
|
||||
*/
|
||||
async getDeptRoleList(dept: SysDeptRole): Promise<ResultDomain<SysDeptRole>> {
|
||||
const response = await api.post<SysDeptRole>('/depts/role/list', dept);
|
||||
async getDeptRoleList(deptRole: SysDeptRole): Promise<ResultDomain<SysDeptRole>> {
|
||||
const response = await api.post<SysDeptRole>('/depts/role/list', deptRole);
|
||||
return response.data;
|
||||
},
|
||||
|
||||
|
||||
@@ -97,8 +97,8 @@ export const userApi = {
|
||||
* @param user 用户信息
|
||||
* @returns Promise<ResultDomain<SysUserDeptRole>>
|
||||
*/
|
||||
async getUserDeptRole(user: SysUserDeptRole): Promise<ResultDomain<SysUserDeptRole>> {
|
||||
const response = await api.post<SysUserDeptRole>('/users/bind/deptrole/list', user);
|
||||
async getUserDeptRole(user: UserDeptRoleVO): Promise<ResultDomain<UserDeptRoleVO>> {
|
||||
const response = await api.post<UserDeptRoleVO>('/users/bind/deptrole/list', user);
|
||||
return response.data;
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user