feat: 证书增加详情页

This commit is contained in:
zhengkunwang223
2022-12-29 14:55:20 +08:00
committed by zhengkunwang223
parent 0c981b0aa0
commit a4e6ca01a7
9 changed files with 121 additions and 8 deletions

View File

@@ -128,7 +128,11 @@ export const DeleteSSL = (req: Website.DelReq) => {
};
export const GetWebsiteSSL = (websiteId: number) => {
return http.get<Website.SSL>(`/websites/ssl/${websiteId}`);
return http.get<Website.SSL>(`/websites/ssl/website/${websiteId}`);
};
export const GetSSL = (id: number) => {
return http.get<Website.SSL>(`/websites/ssl/${id}`);
};
export const ApplySSL = (req: Website.SSLApply) => {