更新密码找回uniapp
This commit is contained in:
1 parent
7f9a66da0f
commit
3fdda89833
1304 files changed
+3503
-26132
No files matched your search
@@ -1,8 +1,5 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// ==================== 主域名池管理 ====================
|
||||
|
||||
// 获取域名池列表
|
||||
export function getDomainPoolList(params) {
|
||||
return request({
|
||||
url: '/backend/domain/pool/index',
|
||||
@@ -11,7 +8,6 @@ export function getDomainPoolList(params) {
|
||||
})
|
||||
}
|
||||
|
||||
// 获取启用的主域名列表
|
||||
export function getEnabledDomains() {
|
||||
return request({
|
||||
url: '/backend/domain/pool/getEnabledDomains',
|
||||
@@ -19,7 +15,6 @@ export function getEnabledDomains() {
|
||||
})
|
||||
}
|
||||
|
||||
// 创建主域名
|
||||
export function createDomainPool(data) {
|
||||
return request({
|
||||
url: '/backend/domain/pool/create',
|
||||
@@ -28,7 +23,6 @@ export function createDomainPool(data) {
|
||||
})
|
||||
}
|
||||
|
||||
// 更新主域名
|
||||
export function updateDomainPool(data) {
|
||||
return request({
|
||||
url: '/backend/domain/pool/update',
|
||||
@@ -37,7 +31,6 @@ export function updateDomainPool(data) {
|
||||
})
|
||||
}
|
||||
|
||||
// 删除主域名
|
||||
export function deleteDomainPool(id) {
|
||||
return request({
|
||||
url: `/backend/domain/pool/delete/${id}`,
|
||||
@@ -45,7 +38,6 @@ export function deleteDomainPool(id) {
|
||||
})
|
||||
}
|
||||
|
||||
// 切换主域名状态
|
||||
export function toggleDomainPoolStatus(id) {
|
||||
return request({
|
||||
url: '/backend/domain/pool/toggleStatus',
|
||||
@@ -54,9 +46,6 @@ export function toggleDomainPoolStatus(id) {
|
||||
})
|
||||
}
|
||||
|
||||
// ==================== 租户域名管理 ====================
|
||||
|
||||
// 获取租户域名列表(管理员)
|
||||
export function getTenantDomainList(params) {
|
||||
return request({
|
||||
url: '/backend/domain/tenant/index',
|
||||
@@ -65,7 +54,6 @@ export function getTenantDomainList(params) {
|
||||
})
|
||||
}
|
||||
|
||||
// 获取当前租户的域名列表
|
||||
export function getMyDomains(params) {
|
||||
return request({
|
||||
url: '/backend/domain/tenant/myDomains',
|
||||
@@ -74,7 +62,6 @@ export function getMyDomains(params) {
|
||||
})
|
||||
}
|
||||
|
||||
// 申请二级域名
|
||||
export function applyTenantDomain(data) {
|
||||
return request({
|
||||
url: '/backend/domain/tenant/apply',
|
||||
@@ -83,7 +70,6 @@ export function applyTenantDomain(data) {
|
||||
})
|
||||
}
|
||||
|
||||
// 绑定自有域名(提交后需按提示配置解析,再调 checkCustomDns)
|
||||
export function bindCustomDomain(data) {
|
||||
return request({
|
||||
url: '/backend/domain/tenant/bindCustom',
|
||||
@@ -92,7 +78,6 @@ export function bindCustomDomain(data) {
|
||||
})
|
||||
}
|
||||
|
||||
// 检测自有域名解析,通过后后端自动申请 HTTPS 证书
|
||||
export function checkCustomDomainDns(id) {
|
||||
return request({
|
||||
url: '/backend/domain/tenant/checkCustomDns',
|
||||
@@ -101,7 +86,6 @@ export function checkCustomDomainDns(id) {
|
||||
})
|
||||
}
|
||||
|
||||
// 获取自有域名解析配置指引(CNAME 目标 / A 记录 IP)
|
||||
export function getCustomDomainGuide() {
|
||||
return request({
|
||||
url: '/backend/domain/tenant/customDomainGuide',
|
||||
@@ -109,7 +93,6 @@ export function getCustomDomainGuide() {
|
||||
})
|
||||
}
|
||||
|
||||
// 禁用/启用租户域名
|
||||
export function toggleTenantDomainStatus(id) {
|
||||
return request({
|
||||
url: '/backend/domain/tenant/toggleStatus',
|
||||
@@ -118,7 +101,6 @@ export function toggleTenantDomainStatus(id) {
|
||||
})
|
||||
}
|
||||
|
||||
// 删除租户域名
|
||||
export function deleteTenantDomain(id) {
|
||||
return request({
|
||||
url: `/backend/domain/tenant/delete/${id}`,
|
||||
|
||||
Reference in new issue
Block a user