liujie
2023-10-09 e0cfe53794b2c90d9f42e5ec821dd5775758d737
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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("/base/coursePackage/queryCoursePackageById")
    CoursePackage queryCoursePackageById(Integer id);
}