|
|
@ -40,8 +40,8 @@ public class ClientController { |
|
|
|
@ApiOperation(value = "参加游戏", notes = "") |
|
|
|
@ApiImplicitParams({ |
|
|
|
}) |
|
|
|
@RequestMapping(value = "join", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"}) |
|
|
|
public JsonResponse<ClientVo.Join> join(@ApiParam @Validated @RequestBody QueryDto<ClientDto.Join> params) throws Exception { |
|
|
|
@RequestMapping(value = "joinGame", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"}) |
|
|
|
public JsonResponse<ClientVo.Join> joinGame(@ApiParam @Validated @RequestBody QueryDto<ClientDto.Join> params) throws Exception { |
|
|
|
log.info("查看全部排行榜:{}",params); |
|
|
|
ClientVo.Join join = clientService.join(params.getParam(), params.getUserId()); |
|
|
|
return JsonResponse.newInstance().ok(join); |
|
|
|