修复前端获取租户方法缺失

This commit is contained in:
YunaiV 2021-12-15 12:27:45 +08:00
parent 1801250516
commit b99f364d92

View File

@ -1,5 +1,16 @@
import request from '@/utils/request'
// 使用租户名,获得租户编号
export function getTenantIdByName(name) {
return request({
url: '/system/tenant/get-id-by-name',
method: 'get',
params: {
name
}
})
}
// 创建租户
export function createTenant(data) {
return request({