mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-18 13:05:07 +08:00
登陆界面,优化成输入租户名
This commit is contained in:
12
yudao-admin-ui/src/api/system/tenant.js
Normal file
12
yudao-admin-ui/src/api/system/tenant.js
Normal file
@ -0,0 +1,12 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 使用租户名,获得租户编号
|
||||
export function getTenantIdByName(name) {
|
||||
return request({
|
||||
url: '/system/tenant/get-id-by-name',
|
||||
method: 'get',
|
||||
params: {
|
||||
name
|
||||
}
|
||||
})
|
||||
}
|
Reference in New Issue
Block a user