无关风月
2025-05-08 9486766c806fe1d9e082b2fd02ea1cc558f1b443
cloud-server-management/src/main/java/com/dsh/course/feignClient/communityWorldCup/WorldCupClient.java
@@ -1,9 +1,13 @@
package com.dsh.course.feignClient.communityWorldCup;
import com.dsh.course.feignClient.communityWorldCup.Model.*;
import com.dsh.guns.modular.system.model.WorldCupQuery;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.ResponseBody;
import java.util.List;
import java.util.Map;
/**
@@ -12,7 +16,23 @@
 */
@FeignClient("mb-cloud-communityWorldCup")
public interface WorldCupClient {
    @PostMapping("/worldCup/getWorldCupIncome")
    List<WorldCupIncomeVO> getWorldCupIncome( WorldCupQuery query);
    /**
     * 门店角色:查询属于门店的学员
     * @param storeIds
     * @return
     */
    @PostMapping("/worldCup/getStudentIds")
    List<Integer> getStudentIds(StoreIds storeIds);
    /**
     * 门店角色:查询属于门店的会员
     * @param storeIds
     * @return
     */
    @PostMapping("/worldCup/getUserIds")
    List<Integer> getUserIds(StoreIds storeIds);
    /**
     * 获取比赛管理列表页数据
     * @param worldCupListAll
@@ -38,7 +58,7 @@
     * @return  数据id
     */
    @PostMapping("/worldCup/editWorldCup")
    void editWorldCup(WorldCup worldCup);
    void editWorldCup(@RequestBody String worldCup);
    /**
@@ -110,6 +130,10 @@
    void changeScore(ChangeScore changeScore);
    @PostMapping("/worldCup/getUserGameRecordList")
    Map<String, Object> getUserGameRecordList(WorldCupGameStatisticsInfoList worldCupGameStatisticsInfoList);
    /**
     * 获取用户比赛记录
     * @param userGameRecordList
@@ -117,4 +141,12 @@
     */
    @PostMapping("/worldCup/userGameRecordList")
    Map<String, Object> userGameRecordList(UserGameRecordList userGameRecordList);
    /**
     * 获取已报名人数
     * @param id
     * @return
     */
    @PostMapping("/worldCup/getRegisteredNumber")
    int getRegisteredNumber(Integer worldCupId);
}