feat: 修改dns删除为Post接口

This commit is contained in:
zhengkunwang223
2022-12-22 10:34:02 +08:00
committed by zhengkunwang223
parent fe8601f753
commit 777e175f5f
4 changed files with 7 additions and 7 deletions

View File

@@ -91,8 +91,8 @@ export const UpdateDnsAccount = (req: Website.DnsAccountUpdate) => {
return http.post<any>(`/websites/dns/update`, req);
};
export const DeleteDnsAccount = (id: number) => {
return http.delete<any>(`/websites/dns/${id}`);
export const DeleteDnsAccount = (req: Website.DelReq) => {
return http.post<any>(`/websites/dns/del`, req);
};
export const SearchAcmeAccount = (req: ReqPage) => {