更新: 2531 个文件 - 2026-03-17 21:00:03
这个提交包含在:
@@ -5,6 +5,7 @@ from typing import Any, Dict, List
|
||||
|
||||
import requests
|
||||
|
||||
from intel.http_client import request
|
||||
from intel.models import Candidate
|
||||
from intel.utils import unique
|
||||
|
||||
@@ -22,7 +23,7 @@ def fetch(system: Dict[str, Any], source: Dict[str, Any]) -> List[Candidate]:
|
||||
if api_key:
|
||||
headers["apiKey"] = api_key
|
||||
|
||||
response = requests.get(API_URL, headers=headers, params=params, timeout=30)
|
||||
response = request("GET", API_URL, headers=headers, params=params)
|
||||
response.raise_for_status()
|
||||
payload = response.json()
|
||||
|
||||
|
||||
在新工单中引用
屏蔽一个用户