小雅获取剧集时刷新文件夹

This commit is contained in:
mtvpls
2026-01-15 23:48:13 +08:00
parent e392e9f543
commit 036e909f74
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -106,7 +106,7 @@ export class XiaoyaClient {
/**
* 列出目录内容
*/
async listDirectory(path: string, page = 1, perPage = 100): Promise<XiaoyaListResponse> {
async listDirectory(path: string, page = 1, perPage = 100, refresh = false): Promise<XiaoyaListResponse> {
const token = await this.getToken();
const response = await fetch(`${this.baseURL}/api/fs/list`, {
@@ -119,7 +119,7 @@ export class XiaoyaClient {
path,
page,
per_page: perPage,
refresh: false,
refresh,
}),
});