|
@@ -86,7 +86,7 @@ public class ExamControlController extends ControllerSupport {
|
|
|
* 开始答题
|
|
|
*/
|
|
|
@ApiOperation(value = "开始答题")
|
|
|
- @GetMapping("/startAnswer")
|
|
|
+ @PostMapping("/startAnswer")
|
|
|
public void startAnswer(@RequestParam @ApiParam(value = "考试记录id") Long examRecordDataId) {
|
|
|
User user = getAccessUser();
|
|
|
String sequenceLockKey = Constants.EXAM_CONTROL_LOCK_PREFIX + user.getUserId();
|
|
@@ -443,7 +443,7 @@ public class ExamControlController extends ControllerSupport {
|
|
|
* 记录切换屏幕
|
|
|
*/
|
|
|
@ApiOperation(value = "记录切换屏幕次数")
|
|
|
- @GetMapping("/switchScreen")
|
|
|
+ @PostMapping("/switchScreen")
|
|
|
public void switchScreen(@RequestParam @ApiParam(value = "考试记录id") Long examRecordDataId) {
|
|
|
User user = getAccessUser();
|
|
|
String sequenceLockKey = Constants.EXAM_CONTROL_LOCK_PREFIX + user.getUserId();
|