| | |
| | | import com.dsh.course.feignClient.course.model.TCoursePackagePayment; |
| | | import com.dsh.guns.modular.system.model.*; |
| | | import com.dsh.guns.modular.system.model.dto.CoursePackage; |
| | | import com.dsh.guns.modular.system.util.ResultUtil; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | |
| | | */ |
| | | @FeignClient("mb-cloud-course") |
| | | public interface CoursePackagePaymentClient { |
| | | |
| | | /** |
| | | * 查询学员入学时间 根据第一次购买课包的时间 |
| | | * @return |
| | | */ |
| | | @RequestMapping("/base/coursePackagePayment/getTime") |
| | | String getTime(@RequestBody Integer studentId); |
| | | /** |
| | | * 获取报名订单记录列表 |
| | | */ |
| | |
| | | TCoursePackagePayment queryCoursePackagePaymentById(@RequestParam("id")Long id); |
| | | |
| | | |
| | | @PostMapping("/coursePackagePayment/consumeCourse") |
| | | ResultUtil consumeCourse(@RequestBody Integer coursePackagePaymentId); |
| | | |
| | | /** |
| | | * 修改数据 |
| | | * @param coursePackagePayment |