WANG před 6 roky
rodič
revize
31d3f605ff

+ 1 - 1
examcloud-core-examwork-api-provider/src/main/java/cn/com/qmth/examcloud/core/examwork/api/controller/ExamStudentController.java

@@ -113,7 +113,7 @@ public class ExamStudentController extends ControllerSupport {
 
 	@ApiOperation(value = "查询考生的专业集合")
 	@GetMapping("courseLevelList")
-	public List<String> getCourseLevelByStudentId(@PathVariable Long studentId) {
+	public List<String> getCourseLevelByStudentId() {
 		User accessUser = getAccessUser();
 		if (!accessUser.getUserType().equals(UserType.STUDENT)) {
 			throw new StatusException("005001", "用户类型错误");

+ 2 - 2
examcloud-core-examwork-starter/src/main/resources/security.properties

@@ -3,6 +3,6 @@
 [s][${$rmp.ctr.examwork}/exam][examOrgProperty/{examId}/{key}][GET]=true
 [s][${$rmp.ctr.examwork}/exam][ipLimit/{examId}][GET]=true
 
-[s][${$rmp.ctr.examwork}/exam_student][specialtyNameList/{studentId}][GET]=true
-[s][${$rmp.ctr.examwork}/exam_student][courseLevelList/{studentId}][GET]=true
+[s][${$rmp.ctr.examwork}/exam_student][specialtyNameList][GET]=true
+[s][${$rmp.ctr.examwork}/exam_student][courseLevelLis][GET]=true