|
@@ -117,7 +117,7 @@ public class ExamApi {
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "启用考试", notes = "启用考试")
|
|
|
- @PutMapping("/enable/{ids}")
|
|
|
+ @PutMapping("/exam/enable/{ids}")
|
|
|
public ResponseEntity enableUser(@PathVariable String ids) {
|
|
|
List<Long> examIds = Stream.of(ids.split(",")).map(s -> Long.parseLong(s.trim()))
|
|
|
.collect(Collectors.toList());
|
|
@@ -130,7 +130,7 @@ public class ExamApi {
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "禁用考试", notes = "禁用考试")
|
|
|
- @PutMapping("/disable/{ids}")
|
|
|
+ @PutMapping("/exam/disable/{ids}")
|
|
|
public ResponseEntity disableUser(@PathVariable String ids) {
|
|
|
List<Long> examIds = Stream.of(ids.split(",")).map(s -> Long.parseLong(s.trim()))
|
|
|
.collect(Collectors.toList());
|