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