| | |
| | | * @return |
| | | */ |
| | | @ResponseBody |
| | | @PostMapping("/coursePackage/queryCoursePackageById") |
| | | @PostMapping("/base/coursePackage/queryCoursePackageById") |
| | | public TCoursePackage queryCoursePackageById(@RequestBody Integer id){ |
| | | try { |
| | | TCoursePackage coursePackage = coursePackageService.getById(id); |
| | |
| | | return courseVoList; |
| | | } |
| | | |
| | | /** |
| | | * 根据id获取课包 |
| | | * @param coursePackConfigId |
| | | * @return |
| | | */ |
| | | @ResponseBody |
| | | @PostMapping("/base/coursePackage/queryConfigCoursePackData") |
| | | public CoursePackagePaymentConfig queryConfigCoursePackData(@RequestBody Integer coursePackConfigId){ |
| | | return icppconfigService.getById(coursePackConfigId); |
| | | } |
| | | |
| | | } |