|
@@ -18,16 +18,16 @@ import java.util.List;
|
|
|
@FeignClient(value = "ExamCloud-service-exam-work")
|
|
|
public interface ExamStudentClient {
|
|
|
|
|
|
- @RequestMapping(method = RequestMethod.POST, value = "${app.api.exam}/exam_student")
|
|
|
+ @RequestMapping(method = RequestMethod.POST, value = "${$rmp.ctr.examwork}/exam_student")
|
|
|
ResponseEntity<OutletExamStudent> save(@RequestHeader("user_token") String token, @RequestBody OutletExamStudent examStudent);
|
|
|
|
|
|
|
|
|
- @RequestMapping(method = RequestMethod.PUT, value = "${app.api.exam}/exam_student")
|
|
|
+ @RequestMapping(method = RequestMethod.PUT, value = "${$rmp.ctr.examwork}/exam_student")
|
|
|
ResponseEntity<OutletExamStudent> updateExamStudent(@RequestHeader("user_token") String token, @RequestBody OutletExamStudent examStudent);
|
|
|
|
|
|
- @RequestMapping(method = RequestMethod.GET, value = "${app.api.exam}/exam_student/all")
|
|
|
+ @RequestMapping(method = RequestMethod.GET, value = "${$rmp.ctr.examwork}/exam_student/all")
|
|
|
String getExamStudentByIdentityNumber(@RequestHeader("user_token") String token, @RequestParam("identityNumber") String identityNumber);
|
|
|
|
|
|
- @RequestMapping(method = RequestMethod.GET, value = "${app.api.exam}/exam_student/all")
|
|
|
+ @RequestMapping(method = RequestMethod.GET, value = "${$rmp.ctr.examwork}/exam_student/all")
|
|
|
ResponseEntity<List<OutletExamStudent>> queryExamStudent(@RequestHeader("user_token") String token, @RequestParam("identityNumber") String identityNumber, @RequestParam("examId") Long examId, @RequestParam("courseCode") String courseCode);
|
|
|
}
|