fix actions

This commit is contained in:
jxxghp
2025-02-28 11:15:24 +08:00
parent f8ed16666c
commit cf62ad5e8e
14 changed files with 174 additions and 131 deletions
+6 -3
View File
@@ -29,16 +29,19 @@ class AddDownloadAction(BaseAction):
self.downloadchain = DownloadChain()
self.mediachain = MediaChain()
@classmethod
@property
def name(self) -> str:
def name(cls) -> str:
return "添加下载"
@classmethod
@property
def description(self) -> str:
def description(cls) -> str:
return "根据资源列表添加下载任务"
@classmethod
@property
def data(self) -> dict:
def data(cls) -> dict:
return AddDownloadParams().dict()
@property