nickchange
2023-11-09 c036557db88c6297b9a626a892dce35c14ab8ee5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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);
}