From b85427676fedd373e955f24627764b8e5a29c816 Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期五, 01 三月 2024 17:10:28 +0800 Subject: [PATCH] 合并代码 --- cloud-server-communityWorldCup/src/main/java/com/dsh/communityWorldCup/controller/WorldCupController.java | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cloud-server-communityWorldCup/src/main/java/com/dsh/communityWorldCup/controller/WorldCupController.java b/cloud-server-communityWorldCup/src/main/java/com/dsh/communityWorldCup/controller/WorldCupController.java index 0647bb9..eb3d3fb 100644 --- a/cloud-server-communityWorldCup/src/main/java/com/dsh/communityWorldCup/controller/WorldCupController.java +++ b/cloud-server-communityWorldCup/src/main/java/com/dsh/communityWorldCup/controller/WorldCupController.java @@ -184,7 +184,7 @@ @ApiImplicitParam(name = "code", value = "扫码结果", required = true, dataType = "String"), @ApiImplicitParam(name = "Authorization", value = "用户token(Bearer +token)", required = true, dataType = "String", paramType = "header", defaultValue = "Bearer eyJhbGciOiJIUzUxMiJ9.....") }) - public ResultUtil<Map<String, String>> getDeviceInformation(@RequestBody String code){ + public ResultUtil<Map<String, String>> getDeviceInformation(String code){ /** * { * "scan_type": 0, // 扫码类型:1000:游戏,1001:课程,1002:场地 @@ -266,7 +266,7 @@ @ApiImplicitParam(name = "id", value = "世界杯id", required = true, dataType = "int"), @ApiImplicitParam(name = "Authorization", value = "用户token(Bearer +token)", required = true, dataType = "String", paramType = "header", defaultValue = "Bearer eyJhbGciOiJIUzUxMiJ9.....") }) - public ResultUtil<WorldCupInfo> getWorldCupInfo(@RequestBody Integer id){ + public ResultUtil<WorldCupInfo> getWorldCupInfo(Integer id){ WorldCupInfo worldCupInfo = worldCupService.getWorldCupInfo(id); return ResultUtil.success(worldCupInfo); } @@ -449,7 +449,7 @@ @ApiImplicitParam(name = "id", value = "列表中的id", required = true, dataType = "String"), @ApiImplicitParam(name = "Authorization", value = "用户token(Bearer +token)", required = true, dataType = "String", paramType = "header", defaultValue = "Bearer eyJhbGciOiJIUzUxMiJ9.....") }) - public ResultUtil<MyWorldCupInfo> getMyWorldCupInfo(@RequestBody String id){ + public ResultUtil<MyWorldCupInfo> getMyWorldCupInfo(String id){ MyWorldCupInfo myWorldCupInfo = worldCupPaymentParticipantService.getMyWorldCupInfo(id); return ResultUtil.success(myWorldCupInfo); } @@ -502,7 +502,7 @@ */ @ResponseBody @PostMapping("/worldCup/winCount") - public Integer winCount(Integer studentId){ + public Integer winCount(@RequestBody Integer studentId){ return worldCupCompetitorService.count(new QueryWrapper<WorldCupCompetitor>() .eq("participantId", studentId).eq("participantType", 1).eq("matchResult", 1)); } -- Gitblit v1.7.1