feat(file-check): 增加文件检核 Excel 下载链接解析与展示功能

This commit is contained in:
hugo committed 2026-07-10 13:28:41 +08:00
1 parent 5e7e5a8717
commit f21216f81e
21 files changed
+885 -125

No files matched your search

@@ -108,6 +108,9 @@
},
"404": {
"$ref": "#/components/responses/TaskNotFound"
},
"503": {
"$ref": "#/components/responses/DataSourceUnavailable"
}
}
}
@@ -533,7 +536,8 @@
"properties": {
"task_id": {
"type": "integer",
"example": 12
"example": 12,
"description": "检核任务 ID(ScheduleTask.id);绑定 解析运行态上下文.task_id_int(Number),勿绑意图识别.task_id"
},
"trigger_source": {
"type": "string",
@@ -561,7 +565,7 @@
"required": [
"task_id"
],
"description": "Chatflow Tool 节点绑定 task_id、hxops_turn_id(经 agent_runtime_context 解析后传入);user_message 用于展示与兼容兜底"
"description": "Chatflow Tool 节点绑定 task_id(Integer,来源 解析运行态上下文.task_id_int)、hxops_turn_id(经 agent_runtime_context 解析后传入);user_message 用于展示与兼容兜底"
},
"RunCheckSuccessResponse": {
"type": "object",
@@ -887,6 +891,21 @@
}
}
}
},
"DataSourceUnavailable": {
"description": "检核数据源不可用(ODBC/SQL Server 连接失败或 SRM 环境变量未配置)",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
},
"example": {
"ok": false,
"error_code": "data_source_unavailable",
"message": "检核数据源不可用,请检查排程 SQL 配置、SRM_SQLSERVER_* 环境变量及本机 ODBC 驱动"
}
}
}
}
}
}