|
@ -69,6 +69,18 @@ public class TopicController { |
|
|
return JsonResponse.newInstance().ok(queryRankings); |
|
|
return JsonResponse.newInstance().ok(queryRankings); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@ApiOperation(value = "选手抢答", notes = "") |
|
|
|
|
|
@ApiImplicitParams({ |
|
|
|
|
|
}) |
|
|
|
|
|
@RequestMapping(value = "/responder/group", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"}) |
|
|
|
|
|
public JsonResponse responderGroup(@RequestBody @ApiParam @Validated TopicDto.Group group) throws Exception { |
|
|
|
|
|
log.info("选手抢答:{}",group.toString()); |
|
|
|
|
|
topicService.responderGroup(group); |
|
|
|
|
|
return JsonResponse.newInstance().ok(); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*=============================================================================*/ |
|
|
@ApiOperation(value = "主持人在大屏点击开始抢答(倒计时结束后)", notes = "") |
|
|
@ApiOperation(value = "主持人在大屏点击开始抢答(倒计时结束后)", notes = "") |
|
|
@ApiImplicitParams({ |
|
|
@ApiImplicitParams({ |
|
|
}) |
|
|
}) |
|
@ -79,15 +91,7 @@ public class TopicController { |
|
|
return JsonResponse.newInstance().ok(); |
|
|
return JsonResponse.newInstance().ok(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@ApiOperation(value = "选手抢答", notes = "") |
|
|
|
|
|
@ApiImplicitParams({ |
|
|
|
|
|
}) |
|
|
|
|
|
@RequestMapping(value = "/responder/group", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"}) |
|
|
|
|
|
public JsonResponse responderGroup(@RequestBody @ApiParam @Validated TopicDto.Group group) throws Exception { |
|
|
|
|
|
log.info("选手抢答:{}",group.toString()); |
|
|
|
|
|
topicService.responderGroup(group); |
|
|
|
|
|
return JsonResponse.newInstance().ok(); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@ApiOperation(value = "查询抢答成功的组", notes = "") |
|
|
@ApiOperation(value = "查询抢答成功的组", notes = "") |
|
|
@ApiImplicitParams({ |
|
|
@ApiImplicitParams({ |
|
|