puzhibing
2023-11-28 3c12858927ce26f277ba758e520c81be599d8df1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
package com.dsh.course.feignClient.course;
 
import com.dsh.course.feignClient.course.model.CoursePackagePaymentConfig;
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.ResponseBody;
 
import java.util.List;
 
 
/**
 * @author zhibing.pu
 * @Date 2023/8/7 11:45
 */
@FeignClient("mb-cloud-course")
public interface CoursePackagePaymentConfigClient {
    /**
     * 根据主键id获取价格配置
     * @return
     */
    @PostMapping("/coursePackagePaymentConfig/getById")
    CoursePackagePaymentConfig getById(@RequestBody Integer id);
 
    /**
     * 添加数据
     * @param coursePackagePaymentConfig
     */
    @PostMapping("/coursePackagePaymentConfig/addCoursePackagePaymentConfig")
    int addCoursePackagePaymentConfig(CoursePackagePaymentConfig coursePackagePaymentConfig);
 
 
    /**
     * 根据课包id获取价格配置
     * @param coursePackageId
     * @return
     */
    @PostMapping("/coursePackagePaymentConfig/queryCoursePackagePaymentConfigList")
    List<CoursePackagePaymentConfig> queryCoursePackagePaymentConfigList(Integer coursePackageId);
    /**
     * 根据课包id获取价格配置
     * @param
     * @return
     */
    @PostMapping("/coursePackagePaymentConfig/queryCoursePackagePaymentConfigList1")
    List<CoursePackagePaymentConfig> queryCoursePackagePaymentConfigList1(Integer coursePackagePaymentConfigId);
 
 
    /**
     * 删除数据
     * @param coursePackageId
     */
    @PostMapping("/coursePackagePaymentConfig/delCoursePackagePaymentConfig")
    void delCoursePackagePaymentConfig(Integer coursePackageId);
}