| | |
| | | import com.dsh.course.feignClient.course.model.CoursePackagePaymentConfig; |
| | | 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 CoursePackagePaymentConfigClient { |
| | | |
| | | /** |
| | | * 根据主键id获取价格配置 |
| | | * @return |
| | | */ |
| | | @PostMapping("/coursePackagePaymentConfig/getById") |
| | | CoursePackagePaymentConfig getById(@RequestBody Integer id); |
| | | |
| | | /** |
| | | * 添加数据 |
| | | * @param coursePackagePaymentConfig |
| | | */ |
| | | @PostMapping("/coursePackagePaymentConfig/addCoursePackagePaymentConfig") |
| | | void addCoursePackagePaymentConfig(CoursePackagePaymentConfig coursePackagePaymentConfig); |
| | | int addCoursePackagePaymentConfig(CoursePackagePaymentConfig coursePackagePaymentConfig); |
| | | |
| | | |
| | | /** |
| | |
| | | */ |
| | | @PostMapping("/coursePackagePaymentConfig/queryCoursePackagePaymentConfigList") |
| | | List<CoursePackagePaymentConfig> queryCoursePackagePaymentConfigList(Integer coursePackageId); |
| | | /** |
| | | * 根据课包id获取价格配置 |
| | | * @param |
| | | * @return |
| | | */ |
| | | @PostMapping("/coursePackagePaymentConfig/queryCoursePackagePaymentConfigList1") |
| | | List<CoursePackagePaymentConfig> queryCoursePackagePaymentConfigList1(Integer coursePackagePaymentConfigId); |
| | | |
| | | |
| | | /** |