增加自定义绑定域名
This commit is contained in:
@@ -83,6 +83,32 @@ export function applyTenantDomain(data) {
|
||||
})
|
||||
}
|
||||
|
||||
// 绑定自有域名(提交后需按提示配置解析,再调 checkCustomDns)
|
||||
export function bindCustomDomain(data) {
|
||||
return request({
|
||||
url: '/platform/domain/tenant/bindCustom',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 检测自有域名解析,通过后后端自动申请 HTTPS 证书
|
||||
export function checkCustomDomainDns(id) {
|
||||
return request({
|
||||
url: '/platform/domain/tenant/checkCustomDns',
|
||||
method: 'post',
|
||||
data: { id }
|
||||
})
|
||||
}
|
||||
|
||||
// 获取自有域名解析配置指引(CNAME 目标 / A 记录 IP)
|
||||
export function getCustomDomainGuide() {
|
||||
return request({
|
||||
url: '/platform/domain/tenant/customDomainGuide',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 审核租户域名
|
||||
export function auditTenantDomain(data) {
|
||||
return request({
|
||||
|
||||
Reference in New Issue
Block a user