Merge branch 'hugo-shipping-notice' into dev

This commit is contained in:
hugo committed 2026-08-20 20:27:21 +08:00
commit 3985b34dda
606 files changed
+52167 -36839

No files matched your search

+62 -2
View File
@@ -8,7 +8,7 @@
"servers": [
{
"url": "http://127.0.0.1:5052",
"description": "HXOPS_TOOLS_API_BASE"
"description": "本地开发占位;部署环境请通过 GET /api/file-check/tools/openapi.json 导入"
}
],
"security": [
@@ -84,7 +84,7 @@
},
"responses": {
"200": {
"description": "启动成功;或已有 文件检核进行中,返回 ok=false/error_code=check_running",
"description": "启动成功;已有检核进行中或预检无资料时返回 ok=false。预检无资料仍返回已完成的 0 笔 run,供前端展示 100% 进度。",
"content": {
"application/json": {
"schema": {
@@ -94,6 +94,9 @@
},
{
"$ref": "#/components/schemas/CheckRunningResponse"
},
{
"$ref": "#/components/schemas/NoDataResponse"
}
]
}
@@ -220,6 +223,33 @@
"type": "integer",
"example": 12
}
},
{
"name": "hxops_turn_id",
"in": "query",
"required": false,
"schema": {
"type": "string"
},
"description": "当前 HXOPS 对话轮次 ID;传入后将最近批次绑定到该轮进度卡"
},
{
"name": "conversation_id",
"in": "query",
"required": false,
"schema": {
"type": "string"
},
"description": "当前 Dify 会话 ID,仅用于关联当前查询轮次"
},
{
"name": "user_message",
"in": "query",
"required": false,
"schema": {
"type": "string"
},
"description": "当前用户问题,仅用于关联当前查询轮次"
}
],
"responses": {
@@ -650,6 +680,36 @@
}
}
},
"NoDataResponse": {
"type": "object",
"required": [
"ok",
"error_code",
"message",
"run",
"task"
],
"properties": {
"ok": {
"type": "boolean",
"example": false
},
"error_code": {
"type": "string",
"example": "no_data_to_check"
},
"message": {
"type": "string",
"example": "目前没有资料需要检核"
},
"run": {
"$ref": "#/components/schemas/RunDetail"
},
"task": {
"$ref": "#/components/schemas/TaskSummary"
}
}
},
"GetRunResponse": {
"type": "object",
"required": [