66 lines
2.5 KiB
JSON
66 lines
2.5 KiB
JSON
|
|
{
|
||
|
|
"openapi": "3.0.1",
|
||
|
|
"info": { "title": "新增审核专家", "version": "1.0.0" },
|
||
|
|
"paths": {
|
||
|
|
"/qual-filing-expert/save": {
|
||
|
|
"post": {
|
||
|
|
"summary": "新增审核专家",
|
||
|
|
"tags": ["审核专家管理"],
|
||
|
|
"requestBody": {
|
||
|
|
"content": {
|
||
|
|
"application/json": {
|
||
|
|
"schema": { "$ref": "#/components/schemas/QualFilingExpertAddCmd" }
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"responses": {
|
||
|
|
"200": {
|
||
|
|
"description": "OK",
|
||
|
|
"content": {
|
||
|
|
"application/json": {
|
||
|
|
"schema": { "$ref": "#/components/schemas/SingleResponseQualFilingExpertCO" }
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"components": {
|
||
|
|
"schemas": {
|
||
|
|
"QualFilingExpertAddCmd": {
|
||
|
|
"type": "object",
|
||
|
|
"properties": {
|
||
|
|
"userName": { "type": "string", "description": "用户名称/姓名" },
|
||
|
|
"account": { "type": "string", "description": "账号" },
|
||
|
|
"genderCode": { "type": "integer", "description": "性别编码(1男2女)" },
|
||
|
|
"genderName": { "type": "string", "description": "性别名称" },
|
||
|
|
"idCardNo": { "type": "string", "description": "身份证号" },
|
||
|
|
"certificate": { "type": "string", "description": "证书" }
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"QualFilingExpertCO": {
|
||
|
|
"type": "object",
|
||
|
|
"properties": {
|
||
|
|
"id": { "type": "integer", "format": "int64", "description": "主键ID(后端Long, 前端按字符串保证精度)" },
|
||
|
|
"userName": { "type": "string", "description": "用户名称/姓名" },
|
||
|
|
"account": { "type": "string", "description": "账号" },
|
||
|
|
"genderCode": { "type": "integer", "description": "性别编码(1男2女)" },
|
||
|
|
"genderName": { "type": "string", "description": "性别名称" },
|
||
|
|
"idCardNo": { "type": "string", "description": "身份证号" },
|
||
|
|
"certificate": { "type": "string", "description": "证书" },
|
||
|
|
"tenantId": { "type": "integer", "format": "int64", "description": "租户ID" }
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"SingleResponseQualFilingExpertCO": {
|
||
|
|
"type": "object",
|
||
|
|
"properties": {
|
||
|
|
"success": { "type": "boolean", "description": "是否成功" },
|
||
|
|
"code": { "type": "string", "description": "响应码" },
|
||
|
|
"message": { "type": "string", "description": "响应消息" },
|
||
|
|
"data": { "$ref": "#/components/schemas/QualFilingExpertCO", "description": "响应数据" }
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|