package com.dsh.course.feignclient;
|
|
import com.dsh.course.feignclient.model.GetStudentCourse;
|
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.web.bind.annotation.PostMapping;
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
@FeignClient(value = "mb-cloud-course")
|
public interface CourseRecordClient {
|
|
@PostMapping("/base/courseRecord/queryDeduClassHours")
|
public Integer getDeductionClassHour(@RequestBody GetStudentCourse course);
|
|
}
|