- OSS文件上传控制器
- 党建控制器
- 新闻公告控制器
- 企业控制器
- 通用接口控制器
- 人员控制器
- 项目控制器
- 考试控制器
- 起重机设备控制器
- 起重机登记控制器
- 安全帽控制器
更新PC端试卷
POST
/exam/pc/examPaper/update
请求参数
Header 参数
token
string
可选
默认值:
eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VyX2tleSI6IjU1YTRlMGM3LTk4MTktNDRlYi1iNDBmLTFlZTg3MzczMTFhYyIsInVzZXJuYW1lIjoiYWRtaW4ifQ.IVvGfgnXaPHpSSv7ndl0ITB3PBCkwYPfYurc2Ulsd3i2lO_djYLMM4p886y7mC1AGGOP2Bcj3T0LDwwVKgk3eQ
Body 参数application/json
考试试卷记录
id
integer <int64>
主键id
examPersonId
integer <int64>
考试人员id
paperName
string
试卷名称
totalScore
integer
试卷总分
passingScore
integer
试卷及格分
score
integer
试卷得分
duration
integer
考试时长(分钟)
state
string
可选
answerStartTime
string
答题开始时间
answerEndTime
string
答题结束时间
isMock
string
可选
isPass
string
可选
isDel
string
可选
createBy
integer <int64>
创建人
createTime
string
创建时间
updateBy
integer <int64>
更新人
updateTime
string
更新时间
示例
{
"id": 0,
"examPersonId": 0,
"paperName": "string",
"totalScore": 0,
"passingScore": 0,
"score": 0,
"duration": 0,
"state": "string",
"answerStartTime": "string",
"answerEndTime": "string",
"isMock": "string",
"isPass": "string",
"isDel": "string",
"createBy": 0,
"createTime": "string",
"updateBy": 0,
"updateTime": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/exam/pc/examPaper/update' \
--header 'token: eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VyX2tleSI6IjU1YTRlMGM3LTk4MTktNDRlYi1iNDBmLTFlZTg3MzczMTFhYyIsInVzZXJuYW1lIjoiYWRtaW4ifQ.IVvGfgnXaPHpSSv7ndl0ITB3PBCkwYPfYurc2Ulsd3i2lO_djYLMM4p886y7mC1AGGOP2Bcj3T0LDwwVKgk3eQ' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 0,
"examPersonId": 0,
"paperName": "string",
"totalScore": 0,
"passingScore": 0,
"score": 0,
"duration": 0,
"state": "string",
"answerStartTime": "string",
"answerEndTime": "string",
"isMock": "string",
"isPass": "string",
"isDel": "string",
"createBy": 0,
"createTime": "string",
"updateBy": 0,
"updateTime": "string"
}'
返回响应
🟢200成功
application/json
Body
AjaxResult
code :状态码
msg :返回内容
data :数据对象
key
object
可选
示例
{
"": {}
}
修改于 2025-04-30 09:20:26