增加自定义绑定域名

This commit is contained in:
2026-09-02 15:11:32 +08:00
parent db519d9af2
commit f644c278c9
23 changed files with 2966 additions and 212 deletions
+26
View File
@@ -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({