| | |
| | | import com.dsh.guns.modular.system.model.CoursePackagePaymentQuery; |
| | | import com.dsh.guns.modular.system.model.CoursePackagePaymentVO; |
| | | 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.RequestMapping; |
| | | import org.springframework.web.bind.annotation.ResponseBody; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | |
| | | @FeignClient("mb-cloud-course") |
| | | public interface CoursePackagePaymentClient { |
| | | |
| | | |
| | | /** |
| | | * 添加购课记录-后台 |
| | | * @return |
| | | */ |
| | | @RequestMapping("/base/coursePackagePayment/add") |
| | | Object addCoursePackagePayment(@RequestBody com.dsh.guns.modular.system.model.TCoursePackagePayment coursePackagePayment); |
| | | /** |
| | | * 获取学员剩余课时 |
| | | * @param id |
| | |
| | | * @return |
| | | */ |
| | | @PostMapping("/coursePackagePayment/queryCoursePackagePaymentById") |
| | | TCoursePackagePayment queryCoursePackagePaymentById(Long id); |
| | | TCoursePackagePayment queryCoursePackagePaymentById(@RequestParam("id")Long id); |
| | | |
| | | |
| | | /** |