44323
2023-11-17 e863d3485d077c90988c81a756b37ef21cf4962e
cloud-server-management/src/main/java/com/dsh/course/feignClient/course/CoursePackagePaymentConfigClient.java
@@ -3,6 +3,8 @@
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;
@@ -13,7 +15,12 @@
 */
@FeignClient("mb-cloud-course")
public interface CoursePackagePaymentConfigClient {
    /**
     * 根据主键id获取价格配置
     * @return
     */
    @PostMapping("/coursePackagePaymentConfig/getById")
    CoursePackagePaymentConfig getById(@RequestBody Integer id);
    /**
     * 添加数据