java
2023-06-30 d0fe90adfae626158a431b038395caa908e48e8c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package com.dsh.course.feignclient;
 
 
 
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 java.util.List;
 
@FeignClient(value = "mb-cloud-course")
public interface CoursePaymentClient {
 
 
    @PostMapping("/coursePack/queryPayment")
    List<StuCourseResp> getStuCoursePayment();
 
    @PostMapping("/coursePack/storeOfCourse")
    List<CourseOfStoreVo> getStoreOfCourses();
 
    @PostMapping("/coursePack/stuOfCourses")
    StuWithCoursesListVo getStuOfCoursesDetails(@RequestBody Integer stuId,@RequestBody Integer appUserId);
}