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);
|
}
|