|
@@ -48,7 +48,7 @@ public class OpenApiController {
|
|
|
@ApiResponses({@ApiResponse(code = 200, message = "返回消息", response = Result.class)})
|
|
|
@RequestMapping(value = "/authentication", method = RequestMethod.POST)
|
|
|
@Aac(auth = BOOL.FALSE)
|
|
|
- public void authentication(@ApiParam(value = "工号", required = true) @RequestParam String account,
|
|
|
+ public void authentication(@ApiParam(value = "工号") @RequestParam(required = false) String code,
|
|
|
@ApiParam(value = "返回url") @RequestParam(required = false) String returnUrl) throws IOException {
|
|
|
HttpServletRequest request = ServletUtil.getRequest();
|
|
|
HttpServletResponse response = ServletUtil.getResponse();
|
|
@@ -70,6 +70,6 @@ public class OpenApiController {
|
|
|
OpenParams openParams = new OpenParams();
|
|
|
openParams.setName("test1");
|
|
|
|
|
|
- commonService.redirectLogic(account, schoolCode, returnUrl, Objects.nonNull(openParams) ? JacksonUtil.parseJson(openParams) : null);
|
|
|
+ commonService.redirectLogic(code, schoolCode, returnUrl, Objects.nonNull(openParams) ? JacksonUtil.parseJson(openParams) : null);
|
|
|
}
|
|
|
}
|