| | |
| | | |
| | | |
| | | /** |
| | | * 根据主键id获取价格配置 |
| | | * @return |
| | | */ |
| | | @ResponseBody |
| | | @PostMapping("/coursePackagePaymentConfig/getById") |
| | | public CoursePackagePaymentConfig getById(@RequestBody Integer id){ |
| | | return coursePackagePaymentConfigService.getById(id); |
| | | } |
| | | /** |
| | | * 添加数据 |
| | | * @param coursePackagePaymentConfig |
| | | */ |
| | | @ResponseBody |
| | | @PostMapping("/coursePackagePaymentConfig/addCoursePackagePaymentConfig") |
| | | public void addCoursePackagePaymentConfig(@RequestBody CoursePackagePaymentConfig coursePackagePaymentConfig){ |
| | | public int addCoursePackagePaymentConfig(@RequestBody CoursePackagePaymentConfig coursePackagePaymentConfig){ |
| | | coursePackagePaymentConfigService.save(coursePackagePaymentConfig); |
| | | return coursePackagePaymentConfig.getId(); |
| | | } |
| | | |
| | | |