{ "openapi": "3.0.1", "info": { "title": "修改班级", "version": "1.0.0", "description": "同步自 Apifox 项目(api-503642496),班级管理" }, "paths": { "/safetyEval/classManagement/modify": { "post": { "summary": "修改班级", "tags": ["班级管理"], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ClassManagementDTO" } } } }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SingleResponseBoolean" } } } } } } } }, "components": { "schemas": { "ClassManagementDTO": { "type": "object", "properties": { "id": { "type": "string", "description": "主键(后端 Long / Apifox int64;前端按字符串保证精度),修改时必传" }, "classCode": { "type": "string", "description": "班级编码" }, "className": { "type": "string", "description": "班级名称" }, "trainingType": { "type": "string", "description": "培训类型" }, "unitType": { "type": "integer", "description": "参训单位类型(1本企业2相关方)" }, "unitName": { "type": "string", "description": "参训单位名称" }, "recorder": { "type": "string", "description": "记录人员" }, "assessor": { "type": "string", "description": "考核人员" }, "safetyManager": { "type": "string", "description": "安全管理部门负责人" }, "startDate": { "type": "string", "description": "培训开始日期" }, "endDate": { "type": "string", "description": "培训结束日期" }, "openExam": { "type": "integer", "description": "是否开启考试(0-否,1-是)" }, "examFaceRecognition": { "type": "integer", "description": "考试前人脸识别(0-否,1-是)" }, "examCount": { "type": "integer", "description": "考试次数" }, "faceRecognition": { "type": "integer", "description": "是否人脸识别(0-否,1-是)" }, "faceRecognitionTime": { "type": "integer", "description": "人脸识别时间(分钟)" }, "shuffleQuestions": { "type": "integer", "description": "是否打乱试题顺序(0-否,1-是)" }, "status": { "type": "integer", "description": "班级状态:0-未申请,1-待开班,2-培训中,3-培训结束" }, "delayTime": { "type": "string", "description": "延期时间" } } }, "SingleResponseBoolean": { "type": "object", "properties": { "success": { "type": "boolean" }, "code": { "type": "string", "description": "响应码" }, "message": { "type": "string", "description": "响应消息" }, "errMessage": { "type": "string" }, "data": { "type": "boolean" } } } } } }