mirror of
https://github.com/acepanel/panel.git
synced 2026-02-07 09:27:15 +08:00
feat: 不再支持手动签发证书
This commit is contained in:
@@ -42,14 +42,10 @@ export default {
|
||||
certDelete: (id: number): any => http.Delete(`/cert/cert/${id}`),
|
||||
// 证书自动签发
|
||||
obtainAuto: (id: number): any => http.Post(`/cert/cert/${id}/obtain_auto`, { id }),
|
||||
// 证书手动签发
|
||||
obtainManual: (id: number): any => http.Post(`/cert/cert/${id}/obtain_manual`, { id }),
|
||||
// 证书自签名签发
|
||||
obtainSelfSigned: (id: number): any => http.Post(`/cert/cert/${id}/obtain_self_signed`, { id }),
|
||||
// 续签
|
||||
renew: (id: number): any => http.Post(`/cert/cert/${id}/renew`, { id }),
|
||||
// 获取 DNS 记录
|
||||
manualDNS: (id: number): any => http.Post(`/cert/cert/${id}/manual_dns`, { id }),
|
||||
// 部署
|
||||
deploy: (id: number, website_id: number): any =>
|
||||
http.Post(`/cert/cert/${id}/deploy`, { id, website_id })
|
||||
|
||||
Reference in New Issue
Block a user