소스 검색

优化 xxljob 参数配置
优化 limit 透传

luojunhui 1 주 전
부모
커밋
4a86c1e404
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/handlers/account_article_fetch.py

+ 1 - 0
src/handlers/account_article_fetch.py

@@ -14,6 +14,7 @@ from src.handlers._utils import get_db, parse_limit
 
 logger = logging.getLogger(__name__)
 
+
 @xxl_job("accountArticleFetch")
 async def account_article_fetch(param: str) -> dict:
     limit = parse_limit(param, ContentSupplyConst.ARTICLE_DEAL_LIMIT)