| | |
| | | package com.dsh.course.feignclient; |
| | | |
| | | |
| | | |
| | | import com.dsh.course.entity.TCoursePackagePayment; |
| | | import com.dsh.course.feignclient.model.*; |
| | | 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") |
| | | @PostMapping("/base/coursePack/queryPayment") |
| | | List<StuCourseResp> getStuCoursePayment(); |
| | | |
| | | @PostMapping("/coursePack/storeOfCourse") |
| | | @PostMapping("/base/coursePack/storeOfCourse") |
| | | List<CourseOfStoreVo> getStoreOfCourses(); |
| | | |
| | | @PostMapping("/coursePack/stuOfCourses") |
| | | StuWithCoursesListVo getStuOfCoursesDetails(@RequestBody Integer stuId,@RequestBody Integer appUserId); |
| | | @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); |
| | | } |