|
@@ -13,19 +13,19 @@ import cn.com.qmth.examcloud.common.dto.core.Student;
|
|
|
@FeignClient(value = "ExamCloud-service-core")
|
|
|
public interface StudentClient {
|
|
|
|
|
|
- @RequestMapping(method = RequestMethod.GET, value = "${app.api.core}/student")
|
|
|
+ @RequestMapping(method = RequestMethod.GET, value = "${$rmp.ctr.basic}/student")
|
|
|
String updatePhoto(@RequestHeader("user_token") String token,@RequestParam("identityNumber") String identityNumber);
|
|
|
|
|
|
- @RequestMapping(method = RequestMethod.POST, value = "${app.api.core}/student")
|
|
|
+ @RequestMapping(method = RequestMethod.POST, value = "${$rmp.ctr.basic}/student")
|
|
|
String addStudent(@RequestHeader("user_token") String token,@RequestBody Student student);
|
|
|
|
|
|
- @RequestMapping(method = RequestMethod.GET, value = "${app.api.core}/student/{id}")
|
|
|
+ @RequestMapping(method = RequestMethod.GET, value = "${$rmp.ctr.basic}/student/{id}")
|
|
|
String getStudent(@RequestHeader("user_token") String token,@PathVariable("id") Long id);
|
|
|
|
|
|
- @RequestMapping(method = RequestMethod.PUT, value = "${app.api.core}/student")
|
|
|
+ @RequestMapping(method = RequestMethod.PUT, value = "${$rmp.ctr.basic}/student")
|
|
|
String updateStudent(@RequestHeader("user_token") String token,@RequestBody Student student);
|
|
|
|
|
|
- @RequestMapping(method = RequestMethod.DELETE, value = "${app.api.core}/student/{id}")
|
|
|
+ @RequestMapping(method = RequestMethod.DELETE, value = "${$rmp.ctr.basic}/student/{id}")
|
|
|
void deleteStudent(@RequestHeader("user_token") String token,@PathVariable("id") Long id);
|
|
|
|
|
|
}
|