|
@@ -79,6 +79,7 @@ public class DefaultWebMvcConfigurerAdapter extends WebMvcConfigurerAdapter {
|
|
|
rolePathMap.put("[${api_cqb}/]:[/importPaper/{ids}/{curPage}/{pageSize}]:[GET]", new String[]{"QUESTION_ADMIN","SUPER_ADMIN"});
|
|
|
rolePathMap.put("[${api_cqb}/]:[/importPaper/course]:[GET]", new String[]{"QUESTION_ADMIN","SUPER_ADMIN"});
|
|
|
rolePathMap.put("[${api_cqb}/]:[/useBasePaper/{paperIds}]:[PUT]", new String[]{"QUESTION_ADMIN","SUPER_ADMIN"});
|
|
|
+ rolePathMap.put("[${api_cqb}/]:[/uploadRadio/{paperId}]:[POST]", new String[]{"QUESTION_ADMIN","SUPER_ADMIN"});
|
|
|
|
|
|
//cn.com.qmth.examcloud.service.core.api.PaperDetailController
|
|
|
rolePathMap.put("[${api_cqb}/]:[/paperDetail/units/{detail_id}]:[GET]", new String[]{"QUESTION_ADMIN","SUPER_ADMIN"});
|
|
@@ -137,7 +138,7 @@ public class DefaultWebMvcConfigurerAdapter extends WebMvcConfigurerAdapter {
|
|
|
".*/ecs_ques/extract/.*",
|
|
|
".*/extractQues/.*",
|
|
|
".*/ecs_ques/checkObjective/.*",
|
|
|
- "ecs_ques/uploadRadio",
|
|
|
+// ".*/ecs_ques/uploadRadio/.*",
|
|
|
"pdf","ecs_ques/paper",
|
|
|
".*/batch_export/.*"
|
|
|
};
|