feat: 合同审查异步方案(定时任务触发、非流式轮询扣子API、token计费、HTML报告下载)

This commit is contained in:
2026-10-14 21:27:11 +08:00
parent 4625e7c130
commit 4700ea4d98
11 changed files with 706 additions and 255 deletions
@@ -61,10 +61,11 @@
"status": {
"bsonType": "string",
"title": "审查状态",
"description": "uploaded=待审查 reviewing=审查中 completed=已完成 failed=失败",
"description": "uploaded=待审查 reviewing=等待处理 processing=审查中 completed=已完成 failed=失败",
"enum": [
{ "text": "待审查", "value": "uploaded" },
{ "text": "审查中", "value": "reviewing" },
{ "text": "等待处理", "value": "reviewing" },
{ "text": "审查中", "value": "processing" },
{ "text": "已完成", "value": "completed" },
{ "text": "失败", "value": "failed" }
]
@@ -77,7 +78,12 @@
"points_used": {
"bsonType": "number",
"title": "消耗积分",
"description": "本次审查消耗的积分数量"
"description": "本次审查消耗的积分数量(token_count / 100)"
},
"token_count": {
"bsonType": "number",
"title": "Token消耗",
"description": "扣子返回的 token 总消耗"
},
"_add_time": {
"bsonType": "date",