|
|
@@ -113,8 +113,7 @@ public class CaseController extends BaseController {
|
|
|
return caseLogic.getCasesByTaskId(paperId);
|
|
|
}
|
|
|
|
|
|
-// @RequiresAuthentication
|
|
|
-// @RequiresUser
|
|
|
+ @RequiresUser
|
|
|
@RequestMapping(value = UrlConstants.API+"cases/{paperId}/{examId}", method = RequestMethod.GET)
|
|
|
public List<CaseExtendsVO> getCasesForExam(@PathVariable @NotNull Long paperId,@PathVariable @NotNull Long examId) throws Exception {
|
|
|
String username = (String) SecurityUtils.getSubject().getPrincipals().getPrimaryPrincipal();
|