mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-08-28 03:27:31 +08:00
add dashboard apis
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
from app import schemas
|
||||
from app.chain import ChainBase
|
||||
|
||||
|
||||
class DashboardChain(ChainBase):
|
||||
"""
|
||||
各类仪表板统计处理链
|
||||
"""
|
||||
def media_statistic(self) -> schemas.Statistic:
|
||||
"""
|
||||
媒体数量统计
|
||||
"""
|
||||
return self.run_module("media_statistic")
|
||||
Reference in New Issue
Block a user