package com.dsh.account.feignclient.course;
|
|
import com.dsh.account.feignclient.course.model.CoursePackage;
|
import com.dsh.account.feignclient.course.model.TCoursePackagePayment;
|
import io.swagger.models.auth.In;
|
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
import java.util.List;
|
|
/**
|
* @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);
|
|
@PostMapping("/base/coursePackage/queryByCode")
|
Integer queryByCode(String code);
|
|
@PostMapping("/base/coursePackage/counts")
|
Integer counts(Integer stuId);
|
|
@PostMapping("/base/coursePackage/counts1")
|
Integer counts1(Integer stuId);
|
}
|