puzhibing
2024-03-01 c85b23cb867d4a0cebf2f22f3dd3211566cde2ea
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package com.dsh.account.feignclient.communityWorldCup;
 
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
 
/**
 * @author zhibing.pu
 * @Date 2024/3/1 10:04
 */
@FeignClient("mb-cloud-communityWorldCup")
public interface WorldCupCompetitorClient {
 
 
    /**
     * 获取学员参与世界杯次数
     * @param studentId
     * @return
     */
    @PostMapping("/worldCup/count")
    Integer count(Integer studentId);
 
 
    /**
     * 获取学员世界杯胜利次数
     * @param studentId
     * @return
     */
    @PostMapping("/worldCup/winCount")
    Integer winCount(Integer studentId);
}