mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-10-07 08:00:25 +00:00
feat: split website log APIs (#12761)
This commit is contained in:
committed by
zhengkunwang223
parent
d0faee4eeb
commit
956bf0992a
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user