新增tenant接口
This commit is contained in:
@@ -37,6 +37,18 @@ export function getDept(deptId: string | number) {
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询部门详细
|
||||
* @param deptId 部门ID
|
||||
* @returns object
|
||||
*/
|
||||
export function getTenant(deptId: string | number) {
|
||||
return request({
|
||||
url: `/system/tenant/${deptId}`,
|
||||
method: 'get',
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增部门
|
||||
* @param data 部门对象
|
||||
|
||||
Reference in New Issue
Block a user