package com.dsh.account.feignclient.course;
|
|
import com.dsh.account.feignclient.course.model.CoursePackage;
|
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
/**
|
* @author zhibing.pu
|
* @date 2023/7/5 9:55
|
*/
|
@FeignClient("mb-cloud-course")
|
public interface CoursePackageClient {
|
|
|
/**
|
* 根据id获取课包
|
* @param id
|
* @return
|
*/
|
@PostMapping("/coursePackage/queryCoursePackageById")
|
CoursePackage queryCoursePackageById(Integer id);
|
}
|