| | |
| | | package com.dsh.course.feignclient; |
| | | |
| | | |
| | | import com.dsh.course.feignclient.model.StuCourseResp; |
| | | import com.dsh.course.entity.TCoursePackagePayment; |
| | | import com.dsh.course.feignclient.model.*; |
| | | import com.dsh.course.model.vo.request.PlayPaiGoldCoursePackage; |
| | | 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.RequestParam; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | public interface CoursePaymentClient { |
| | | |
| | | |
| | | @PostMapping("/coursePack/queryPayment") |
| | | List<StuCourseResp> getStuCoursePayment(); |
| | | @PostMapping("/base/coursePack/queryPayment") |
| | | List<StuCourseResp> getStuCoursePayment(@RequestBody Integer stuId); |
| | | |
| | | @PostMapping("/base/coursePack/storeOfCourse") |
| | | List<CourseOfStoreVo> getStoreOfCourses(@RequestBody WeeksOfCourseRest courseRest); |
| | | |
| | | @PostMapping("/base/coursePack/stuOfCourses") |
| | | StuWithCoursesListVo getStuOfCoursesDetails(@RequestBody GetStuOfCoursesDetails getStuOfCoursesDetails); |
| | | |
| | | @PostMapping("/base/coursePack/continuingCourse") |
| | | StudentOfCourseVo getStudentCourse(@RequestBody GetStudentCourse getStudentCourse); |
| | | |
| | | @PostMapping("/base/coursePack/afterCourseTwos") |
| | | List<AfterVideoVo> getAfterCourseTwos(@RequestParam("appUserId") Integer appUserId); |
| | | |
| | | |
| | | @PostMapping("/base/coursePack/courseOfPurchased") |
| | | public List<PurchaseVo> getAppUsersCourseData(@RequestBody Integer appUserId); |
| | | |
| | | @PostMapping("/base/coursePack/allPaymentCourseList") |
| | | public List<TCoursePackagePayment> getAppuserCourseList(@RequestBody Integer appUserId); |
| | | |
| | | |
| | | @PostMapping("/coursePackagePayment/courseRenewPlayPaiPay") |
| | | public int paymentWanpaiRenewCourse(@RequestBody PlayPaiGoldCoursePackage coursePackage); |
| | | |
| | | @PostMapping("/base/coursePack/getPaymentCoursePackage") |
| | | public TCoursePackagePayment getCoursePackagePaymentByCode(@RequestBody String payId); |
| | | |
| | | @PostMapping("/base/coursePack/getCoursePackagePaymentById") |
| | | public TCoursePackagePayment getCoursePackagePaymentById(@RequestBody Integer id); |
| | | |
| | | |
| | | @PostMapping("/base/coursePack/delPaymentCoursePackage") |
| | | public boolean delPaymentCoursePackage(@RequestBody Integer payId); |
| | | |
| | | @PostMapping("/base/coursePack/updatePaymentCoursePackage") |
| | | public boolean updatePaymentCoursePackage(@RequestBody TCoursePackagePayment packagePayment); |
| | | |
| | | |
| | | @PostMapping("/base/coursePack/savePaymentCoursePackage") |
| | | public boolean savePaymentCoursePackage(@RequestBody TCoursePackagePayment packagePayment); |
| | | |
| | | @PostMapping("/base/coursePack/obtainStudentClassDetails") |
| | | List<RecordAppoint> obtainStudentClassDetailsData(@RequestBody Integer stuId); |
| | | |
| | | |
| | | @PostMapping("/base/coursePack/getCoursePackagePaymentOfCode") |
| | | List<TCoursePackagePayment> getCoursePackagePaymentOfCode(@RequestBody String code); |
| | | |
| | | } |