mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-04-13 18:11:03 +08:00
webui: add rss manage function.
This commit is contained in:
@@ -38,6 +38,11 @@ export const apiRSS = {
|
||||
return data!;
|
||||
},
|
||||
|
||||
async enableMany(rss_list: number[]) {
|
||||
const { data } = await axios.post<ApiSuccess>(`api/v1/rss/enable/many`, rss_list);
|
||||
return data!;
|
||||
},
|
||||
|
||||
async refreshAll() {
|
||||
const { data } = await axios.get<ApiSuccess>('api/v1/rss/refresh/all');
|
||||
return data!;
|
||||
|
||||
Reference in New Issue
Block a user