|
@@ -53,7 +53,7 @@ public class NoLoginController {
|
|
|
LineCaptcha lineCaptcha = new LineCaptcha(200, 100);
|
|
|
RandomGenerator mathGenerator = new RandomGenerator("1234567890",4);
|
|
|
lineCaptcha.setGenerator(mathGenerator);
|
|
|
- redisUtil.set(String.format(RedisKeyUtil.loginAuthCode,lineCaptcha.getCode()),lineCaptcha.getCode(),60*5);
|
|
|
+ redisUtil.set(String.format(RedisKeyUtil.loginAuthCode,id),lineCaptcha.getCode(),60*5);
|
|
|
lineCaptcha.write(response.getOutputStream());
|
|
|
response.getOutputStream().close();
|
|
|
} catch (Exception e){
|