|
@@ -19,7 +19,6 @@ import org.springframework.transaction.annotation.Transactional;
|
|
|
import org.springframework.web.bind.annotation.DeleteMapping;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.PathVariable;
|
|
|
-import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.PutMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
@@ -310,7 +309,7 @@ public class StudentController extends ControllerSupport {
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "解绑学号", notes = "")
|
|
|
- @PostMapping("unbindStudentCode/{ids}")
|
|
|
+ @PutMapping("unbindStudentCode/{ids}")
|
|
|
public void unbindStudentCode(@PathVariable String ids) {
|
|
|
List<Long> studentIds = Stream.of(ids.split(",")).map(s -> Long.parseLong(s.trim()))
|
|
|
.collect(Collectors.toList());
|
|
@@ -327,7 +326,7 @@ public class StudentController extends ControllerSupport {
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "解绑安全手机", notes = "")
|
|
|
- @PostMapping("unbindSecurityPhone/{ids}")
|
|
|
+ @PutMapping("unbindSecurityPhone/{ids}")
|
|
|
public void unbindSecurityPhone(@PathVariable String ids) {
|
|
|
List<Long> studentIds = Stream.of(ids.split(",")).map(s -> Long.parseLong(s.trim()))
|
|
|
.collect(Collectors.toList());
|