lisy
2023-07-05 20cc9b22e1cdb93d081c6596ec762e9f928e208a
cloud-server-account/src/main/java/com/dsh/account/feignclient/course/CourseRecordClient.java
@@ -2,12 +2,14 @@
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.RequestParam;
@FeignClient(value = "mb-cloud-course")
public interface CourseRecordClient {
    @PostMapping("/courseRecord/queryDeduClassHours")
    public Integer getDeductionClassHour(@RequestBody Integer courseId, @RequestBody Integer stuId, @RequestBody Integer appUserId);
    @PostMapping("/base/courseRecord/queryDeduClassHours")
    public Integer getDeductionClassHour(@RequestParam("courseId") Integer courseId,
                                         @RequestParam("stuId") Integer stuId,
                                         @RequestParam("appUserId") Integer appUserId);
}