feat: add tenant-scoped rule and permission management
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
"""页级图片质量执行器。"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import Any
|
||||
|
||||
from fastapi_modules.fastapi_leaudit.services.impl.pageQualityServiceImpl import PageQualityServiceImpl
|
||||
|
||||
|
||||
class PageQualityRunner:
|
||||
"""页级图片质量执行器。"""
|
||||
|
||||
async def Execute(self, RunId: int) -> dict[str, Any]:
|
||||
"""执行一次页级模糊检测。"""
|
||||
service = PageQualityServiceImpl()
|
||||
return await service.ExecuteRun(RunId=RunId)
|
||||
Reference in New Issue
Block a user