|
@@ -1,28 +1,28 @@
|
|
|
-package cn.com.qmth.examcloud.core.questions.service.rpc;
|
|
|
-
|
|
|
-import cn.com.qmth.examcloud.core.questions.base.core.ExamCourseDto;
|
|
|
-import org.springframework.cloud.openfeign.FeignClient;
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
-import org.springframework.web.bind.annotation.RequestParam;
|
|
|
-
|
|
|
-import java.util.List;
|
|
|
-
|
|
|
-/**
|
|
|
- * @author chenken
|
|
|
- * @date 2017年7月18日 上午9:39:46
|
|
|
- */
|
|
|
-@FeignClient(value = "ExamCloud-service-exam-work")
|
|
|
-public interface ExamCourseClient {
|
|
|
-
|
|
|
- @RequestMapping(method = RequestMethod.GET, value = "${app.api.exam}/exam_course/marking")
|
|
|
- List<ExamCourseDto> findExamCourseByExamId(@RequestParam("exam_id") String examId);
|
|
|
-
|
|
|
- @RequestMapping(method = RequestMethod.GET, value = "${app.api.exam}/exam_course")
|
|
|
- String findPageExamCourse(@RequestParam("exam_id") Long examId,
|
|
|
- @RequestParam(value = "course_code", required = false) String courseCode,
|
|
|
- @RequestParam("cur_page") Integer currentPage,
|
|
|
- @RequestParam("page_size") Integer pageSize,
|
|
|
- @RequestParam(value = "course_level", required = false) String courseLevel);
|
|
|
-
|
|
|
-}
|
|
|
+//package cn.com.qmth.examcloud.core.questions.service.rpc;
|
|
|
+//
|
|
|
+//import cn.com.qmth.examcloud.core.questions.base.core.ExamCourseDto;
|
|
|
+//import org.springframework.cloud.openfeign.FeignClient;
|
|
|
+//import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+//import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
+//import org.springframework.web.bind.annotation.RequestParam;
|
|
|
+//
|
|
|
+//import java.util.List;
|
|
|
+//
|
|
|
+///**
|
|
|
+// * @author chenken
|
|
|
+// * @date 2017年7月18日 上午9:39:46
|
|
|
+// */
|
|
|
+//@FeignClient(value = "ExamCloud-service-exam-work")
|
|
|
+//public interface ExamCourseClient {
|
|
|
+//
|
|
|
+// @RequestMapping(method = RequestMethod.GET, value = "${app.api.exam}/exam_course/marking")
|
|
|
+// List<ExamCourseDto> findExamCourseByExamId(@RequestParam("exam_id") String examId);
|
|
|
+//
|
|
|
+// @RequestMapping(method = RequestMethod.GET, value = "${app.api.exam}/exam_course")
|
|
|
+// String findPageExamCourse(@RequestParam("exam_id") Long examId,
|
|
|
+// @RequestParam(value = "course_code", required = false) String courseCode,
|
|
|
+// @RequestParam("cur_page") Integer currentPage,
|
|
|
+// @RequestParam("page_size") Integer pageSize,
|
|
|
+// @RequestParam(value = "course_level", required = false) String courseLevel);
|
|
|
+//
|
|
|
+//}
|