safety-eval-service-frontend/.api/safetyEval-regulator-eval-p.../spec.json

57 lines
1.7 KiB
JSON

{
"openapi": "3.0.1",
"info": { "title": "人员打卡信息查询", "version": "1.0.0" },
"paths": {
"/safetyEval/regulator/eval-project-monitor/survey-clock-in": {
"get": {
"summary": "人员打卡信息查询",
"tags": ["监管端-安评项目"],
"parameters": [
{ "name": "projectId", "in": "query", "required": true, "schema": { "type": "string" } }
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": { "$ref": "#/components/schemas/SingleResponseListRegulatorEvalSurveyClockInCO" }
}
}
}
}
}
}
},
"components": {
"schemas": {
"SingleResponseListRegulatorEvalSurveyClockInCO": {
"type": "object",
"properties": {
"success": { "type": "boolean" },
"code": { "type": "string" },
"message": { "type": "string" },
"errMessage": { "type": "string" },
"data": {
"type": "array",
"items": { "$ref": "#/components/schemas/RegulatorEvalSurveyClockInCO" }
}
}
},
"RegulatorEvalSurveyClockInCO": {
"type": "object",
"properties": {
"id": { "type": "integer" },
"userName": { "type": "string" },
"role": { "type": "string" },
"faceState": { "type": "integer" },
"gpsState": { "type": "integer" },
"singInTime": { "type": "string" },
"signOutTime": { "type": "string" },
"sceneUrl": { "type": "string" },
"signatureUrl": { "type": "string" }
}
}
}
}
}