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 java.util.List;
|
|
|
/**
|
* @author zhibing.pu
|
* @Date 2023/8/7 11:45
|
*/
|
@FeignClient("mb-cloud-course")
|
public interface CoursePackagePaymentConfigClient {
|
|
|
/**
|
* 添加数据
|
* @param coursePackagePaymentConfig
|
*/
|
@PostMapping("/coursePackagePaymentConfig/addCoursePackagePaymentConfig")
|
void addCoursePackagePaymentConfig(CoursePackagePaymentConfig coursePackagePaymentConfig);
|
|
|
/**
|
* 根据课包id获取价格配置
|
* @param coursePackageId
|
* @return
|
*/
|
@PostMapping("/coursePackagePaymentConfig/queryCoursePackagePaymentConfigList")
|
List<CoursePackagePaymentConfig> queryCoursePackagePaymentConfigList(Integer coursePackageId);
|
|
|
/**
|
* 删除数据
|
* @param coursePackageId
|
*/
|
@PostMapping("/coursePackagePaymentConfig/delCoursePackagePaymentConfig")
|
void delCoursePackagePaymentConfig(Integer coursePackageId);
|
}
|