fix 增加历史删除按钮

This commit is contained in:
thsrite
2024-05-06 21:24:00 +08:00
parent b11b93d716
commit d2bccc78b5
2 changed files with 16 additions and 2 deletions

View File

@@ -477,7 +477,14 @@ class ActorSubscribe(_PluginBase):
pass
def get_api(self) -> List[Dict[str, Any]]:
pass
return [
{
"path": "/delete_history",
"endpoint": self.delete_history,
"methods": ["GET"],
"summary": "删除订阅历史记录"
}
]
def get_form(self) -> Tuple[List[dict], Dict[str, Any]]:
"""

View File

@@ -193,7 +193,14 @@ class PopularSubscribe(_PluginBase):
pass
def get_api(self) -> List[Dict[str, Any]]:
pass
return [
{
"path": "/delete_history",
"endpoint": self.delete_history,
"methods": ["GET"],
"summary": "删除订阅历史记录"
}
]
def get_form(self) -> Tuple[List[dict], Dict[str, Any]]:
"""