safety-eval-service-frontend/.api/safetyEval-classStudent-bat.../spec.json

70 lines
2.7 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{
"openapi": "3.0.1",
"info": {
"title": "批量新增班级学员",
"version": "1.0.0",
"description": "同步自 Apifox 项目api-505094943班级学员"
},
"paths": {
"/safetyEval/classStudent/batchSave": {
"post": {
"summary": "批量新增班级学员",
"description": "批量新增班级学员",
"tags": ["班级学员"],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "array",
"items": { "$ref": "#/components/schemas/ClassStudentDTO" }
}
}
}
},
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": { "$ref": "#/components/schemas/SingleResponseBoolean" }
}
}
}
}
}
}
},
"components": {
"schemas": {
"ClassStudentDTO": {
"type": "object",
"properties": {
"id": { "type": "string", "description": "主键(后端 Long前端按字符串保证精度" },
"classId": { "type": "string", "description": "关联班级ID后端 Long前端按字符串保证精度" },
"studentName": { "type": "string", "description": "姓名" },
"unitName": { "type": "string", "description": "参训单位" },
"department": { "type": "string", "description": "部门" },
"phone": { "type": "string", "description": "手机号" },
"fileNumber": { "type": "string", "description": "档案编号" },
"faceAuth": { "type": "integer", "description": "人脸认证0-未认证1-已认证)" },
"requiredHours": { "type": "number", "description": "要求学时(小时)" },
"completedHours": { "type": "number", "description": "已完成学时(小时)" },
"studyStatus": { "type": "integer", "description": "学习状态0-未学习1-学习中2-已学完3-已完成" },
"examStatus": { "type": "integer", "description": "考试状态0-不考试1-待考试2-考试未通过3-考试通过4-未参加" },
"entryTime": { "type": "string", "description": "入班时间" }
}
},
"SingleResponseBoolean": {
"type": "object",
"properties": {
"success": { "type": "boolean" },
"code": { "type": "string", "description": "响应码" },
"message": { "type": "string", "description": "响应消息" },
"errMessage": { "type": "string", "description": "错误响应消息" },
"data": { "type": "boolean" }
}
}
}
}
}