package com.dsh.account.feignclient.competition;
|
|
import com.dsh.account.feignclient.competition.model.SaveParticipant;
|
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
/**
|
* @author zhibing.pu
|
* @date 2023/7/7 14:57
|
*/
|
@FeignClient("mb-cloud-competition")
|
public interface ParticipantClient {
|
|
|
/**
|
* 保存学员后同步参赛人员信息
|
*
|
* @param saveParticipant
|
*/
|
@PostMapping("/participant/saveParticipant")
|
void saveParticipant(SaveParticipant saveParticipant);
|
|
@PostMapping("/participant/counts")
|
Integer counts(Integer stuId);
|
}
|