소스 검색

fix: 添加service-id

余尚辉 5 달 전
부모
커밋
ac39df9551
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/core/callcenter/api.py

+ 1 - 1
src/core/callcenter/api.py

@@ -120,7 +120,7 @@ class AgentActionRequest(BaseApi):
 class HumanServiceQueryRequest(BaseApi):
     """人工组查询"""
 
-    def __init__(self, saas_id, service_id=None, agent_state=None, agent_ids: Dict[str, Any] = {}, **kwargs):
+    def __init__(self, saas_id, service_id="00000000000000000", agent_state=None, agent_ids: Dict[str, Any] = {}, **kwargs):
         self.saas_id = saas_id
         self.serviceId = service_id
         self.agentState = agent_state