Explorar o código

fix: 添加service-id

余尚辉 hai 5 meses
pai
achega
ac39df9551
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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