| | |
| | | import com.dsh.course.feignClient.course.model.TCoursePackageDiscount; |
| | | 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; |
| | | |
| | |
| | | */ |
| | | @FeignClient("mb-cloud-course") |
| | | public interface CoursePackageDiscountClient { |
| | | |
| | | /** |
| | | * 编辑了课包 课时规格 重新修改折扣绑定的configId |
| | | */ |
| | | @PostMapping("/coursePackageDiscount/update") |
| | | void update(@RequestBody TCoursePackageDiscount tCoursePackageDiscount); |
| | | /** |
| | | * 获取根据课包id获取课包折扣 |
| | | */ |
| | | @PostMapping("/coursePackageDiscount/queryByCoursePackageId") |
| | | List<TCoursePackageDiscount> queryByCoursePackageId(@RequestBody Integer coursePackageId); |
| | | /** |
| | | * 获取根据课包id获取课包折扣(获取所有) |
| | | */ |
| | | @PostMapping("/coursePackageDiscount/queryByCoursePackageId1") |
| | | List<TCoursePackageDiscount> queryByCoursePackageId1(@RequestBody Integer coursePackageId); |
| | | /** |
| | | * 获取课包折扣 |
| | | * @param coursePackagePaymentConfigId |
| | |
| | | * 配置课包折扣数据 |
| | | * @param list |
| | | */ |
| | | |
| | | @PostMapping("/coursePackageDiscount/setCoursePackageDiscount") |
| | | void setCoursePackageDiscount(List<TCoursePackageDiscount> list); |
| | | |
| | | |
| | | @PostMapping("/coursePackageDiscount/queryCoursePackageDiscountOne") |
| | | List<TCoursePackageDiscount> queryCoursePackageDiscountOne(Integer id); |
| | | |
| | | } |