2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-07 08:17:14 +08:00

feat: 支持上传本地证书

This commit is contained in:
耗子
2024-10-27 02:35:04 +08:00
parent cf5f7bd866
commit 56ae7ebfa0
16 changed files with 304 additions and 115 deletions

View File

@@ -38,6 +38,8 @@ export default {
request.get('/cert/cert', { params: { page, limit } }),
// 证书详情
certInfo: (id: number): Promise<AxiosResponse<any>> => request.get(`/cert/cert/${id}`),
// 证书上传
certUpload: (data: any): Promise<AxiosResponse<any>> => request.post('/cert/cert/upload', data),
// 证书添加
certCreate: (data: any): Promise<AxiosResponse<any>> => request.post('/cert/cert', data),
// 证书更新