فهرست منبع

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