소스 검색

fix(decode): update workflow URL for topic decoding

- Switched the decoding workflow URL to the production endpoint.
- Commented out the previous test URL for clarity.
jihuaqiang 1 일 전
부모
커밋
f9a2be0463
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      tasks/decode.py

+ 2 - 2
tasks/decode.py

@@ -205,8 +205,8 @@ def begin_decode_task(param: DecodeContentParam) -> Dict[str, Any]:
 def _trigger_topic_decode_workflow(task_id: str) -> Dict[str, Any]:
     """发起解构任务(调用上游工作流服务)"""
     try:
-        url = "http://192.168.81.96:8000/workflow/topic/decode"
-        # url = "http://supply-content-deconstruction-workflow.piaoquantv.com/workflow/topic/decode"
+        # url = "http://192.168.81.96:8000/workflow/topic/decode"
+        url = "http://supply-content-deconstruction-workflow.piaoquantv.com/workflow/topic/decode"
         params = {"taskId": task_id}
 
         resp = requests.get(url, params=params, timeout=10)