Merge branch 'sophie' into hugo-shipping-notice
This commit is contained in:
commit
260465b72d
7 files changed
+162
-16
No files matched your search
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -677,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": [
|
||||
|
||||
Reference in new issue
Block a user