package com.dsh.course.feignclient;
|
|
|
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;
|
|
@FeignClient(value = "mb-cloud-course")
|
public interface CoursePaymentClient {
|
|
|
@PostMapping("/base/coursePack/queryPayment")
|
List<StuCourseResp> getStuCoursePayment();
|
|
@PostMapping("/base/coursePack/storeOfCourse")
|
List<CourseOfStoreVo> getStoreOfCourses();
|
|
@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/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/allAmountPayRecordOfUser")
|
public List<TCoursePackagePayment> getAmountPayRecord(@RequestBody Integer appUserId);
|
|
@PostMapping("/base/coursePack/obtainStudentClassDetails")
|
List<RecordAppoint> obtainStudentClassDetailsData(@RequestBody Integer stuId);
|
|
}
|