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 |    4 ++--
 1 files changed, 2 insertions(+), 2 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 d21a8ce..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
@@ -384,7 +384,7 @@
      * @return
      */
     @PostMapping("/worldCup/getWorldCupStoreList")
-    public List<WorldCupStore> getWorldCupStoreList(Integer storeId){
+    public List<WorldCupStore> getWorldCupStoreList(@RequestBody Integer storeId){
         List<WorldCup> worldCupList = worldCupService.list(new QueryWrapper<WorldCup>().in("status", Arrays.asList(1, 2)));
         List<Integer> collect = worldCupList.stream().map(WorldCup::getId).collect(Collectors.toList());
         return worldCupStoreService.list(new QueryWrapper<WorldCupStore>().eq("storeId", storeId).in("worldCupId", collect));
@@ -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