mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-08 08:57:09 +08:00
feat 历史同步插件支持同步插件记录和转移记录
This commit is contained in:
@@ -36,3 +36,9 @@ class DownloadHistoryOper(DbOper):
|
||||
分页查询下载历史
|
||||
"""
|
||||
return DownloadHistory.list_by_page(self._db, page, count)
|
||||
|
||||
def truncate(self):
|
||||
"""
|
||||
清空转移记录
|
||||
"""
|
||||
DownloadHistory.truncate(self._db)
|
||||
|
||||
Reference in New Issue
Block a user