|
@@ -50,14 +50,14 @@ public class WudaOpenApiController {
|
|
|
response.sendRedirect(dictionaryConfig.sysDomain().getReportUrl() + basicSchool.getId() + "/" + uid);
|
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "cas鉴权接口")
|
|
|
- @RequestMapping(value = "/authentication/{studentCode}", method = RequestMethod.GET)
|
|
|
- @ApiResponses({@ApiResponse(code = 200, message = "返回消息", response = Result.class)})
|
|
|
- @Aac(auth = BOOL.FALSE)
|
|
|
- public void authenticationStudentCode(HttpServletRequest request, HttpServletResponse response, @PathVariable String studentCode
|
|
|
- ) throws IOException {
|
|
|
- BasicSchool basicSchool = cacheService.schoolCache("wdfx");
|
|
|
- response.setHeader("Access-Control-Allow-Origin", "*");
|
|
|
- response.sendRedirect(dictionaryConfig.sysDomain().getReportUrl() + basicSchool.getId() + "/" + studentCode);
|
|
|
- }
|
|
|
+// @ApiOperation(value = "cas鉴权接口")
|
|
|
+// @RequestMapping(value = "/authentication/{studentCode}", method = RequestMethod.GET)
|
|
|
+// @ApiResponses({@ApiResponse(code = 200, message = "返回消息", response = Result.class)})
|
|
|
+// @Aac(auth = BOOL.FALSE)
|
|
|
+// public void authenticationStudentCode(HttpServletRequest request, HttpServletResponse response, @PathVariable String studentCode
|
|
|
+// ) throws IOException {
|
|
|
+// BasicSchool basicSchool = cacheService.schoolCache("wdfx");
|
|
|
+// response.setHeader("Access-Control-Allow-Origin", "*");
|
|
|
+// response.sendRedirect(dictionaryConfig.sysDomain().getReportUrl() + basicSchool.getId() + "/" + studentCode);
|
|
|
+// }
|
|
|
}
|