Commit be85c71b authored by liqin's avatar liqin 💬

bug fixed

parent 2e89f4bd
......@@ -242,7 +242,7 @@ public class LoginController extends BaseController {
}
@RequestMapping(value = {"/verifyCode"}, method = {RequestMethod.GET})
public void verifyCode(HttpServletRequest request, HttpServletResponse response, Integer width, Integer height) {
public void verifyCode(HttpServletResponse response, Integer width, Integer height) {
String uuid = UUID.randomUUID().toString();
try {
SpecCaptcha iVerifyCodeGen;
......@@ -295,7 +295,7 @@ public class LoginController extends BaseController {
@RequestMapping(value = {"/verifyCode1"}, method = {RequestMethod.GET}, produces = MediaType.IMAGE_JPEG_VALUE)
public @ResponseBody
byte[] verifyCode1(HttpServletRequest request, HttpServletResponse response, Integer width, Integer height) {
byte[] verifyCode1(HttpServletResponse response, Integer width, Integer height) {
String uuid = UUID.randomUUID().toString();
ByteArrayOutputStream baos = null;
try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment