44323
2023-11-28 fade481769731552d9a16c79c9a5323e6f015b36
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
31
package com.dsh.course.feignClient.course;
 
import com.dsh.course.feignClient.course.model.CancelledClasses;
import com.dsh.guns.modular.system.model.CancelClassesQuery;
import com.dsh.guns.modular.system.model.CancelClassesVO;
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;
 
/**
 * @author zhibing.pu
 * @Date 2023/8/12 3:45
 */
@FeignClient("mb-cloud-course")
public interface CancelledClassesClient {
 
    /**
     * 获取消课记录
     */
    @PostMapping("/cancelledClasses/listAll")
    List<CancelClassesVO> listAll(@RequestBody CancelClassesQuery query);
    /**
     * 添加数据
     * @param cancelledClasses
     */
    @PostMapping("/cancelledClasses/addCancelledClasses")
    void addCancelledClasses(CancelledClasses cancelledClasses);
}