优化 ui

This commit is contained in:
yml2213
2026-06-22 14:21:39 +08:00
parent b08f0a647d
commit 627f06d0a0
14 changed files with 322 additions and 61 deletions
+6
View File
@@ -52,6 +52,12 @@ export const loginApi = {
stop: (batch_id: string) => api.post<any, any>(`/login/stop/${batch_id}`),
};
export const cookieApi = {
list: () => api.get<any, any[]>('/cookies'),
exportCsv: () => api.get('/cookies/export', { responseType: 'blob' }),
delete: (id: number) => api.delete<any, any>(`/cookies/${id}`),
};
export const proxyApi = {
get: () => api.get<any, any>('/proxy'),
update: (data: any) => api.put<any, any>('/proxy', data),