feat: split website log APIs (#12761)

This commit is contained in:
ssongliu
2026-05-21 12:39:49 +08:00
committed by zhengkunwang223
parent d0faee4eeb
commit 956bf0992a
6 changed files with 83 additions and 40 deletions
+5 -1
View File
@@ -27,7 +27,11 @@ export const opWebsite = (req: Website.WebSiteOp, node?: string) => {
};
export const opWebsiteLog = (req: Website.WebSiteOpLog) => {
return http.post<Website.WebSiteLog>(`/websites/log`, req);
return http.post<any>(`/websites/log/operate`, req);
};
export const getWebsiteLog = (req: Website.WebSiteLogReq) => {
return http.post<Website.WebSiteLog>(`/websites/log/search`, req);
};
export const updateWebsite = (req: Website.WebSiteUpdateReq) => {