jihuaqiang 3 недель назад
Родитель
Сommit
1a55508e7a
1 измененных файлов с 5 добавлено и 5 удалено
  1. 5 5
      tasks/decode.py

+ 5 - 5
tasks/decode.py

@@ -152,11 +152,11 @@ def decode_topic(param: DecodeContentParam) -> Dict[str, Any]:
     """选题解构方法"""
     try:
         # 前置配额检查,用于超出每天解构次数时,直接返回错误
-        if not _check_quota(param.scene, CapabilityEnum.DECODE, param.content_type):
-            return _build_error_response(
-                ERROR_CODE_FAILED,
-                "配额不足"
-            )
+        # if not _check_quota(param.scene, CapabilityEnum.DECODE, param.content_type):
+        #     return _build_error_response(
+        #         ERROR_CODE_FAILED,
+        #         "配额不足"
+        #     )
 
         # 步骤1: 创建工作流task任务
         task = _create_workflow_task(param.scene, param.content_type)