正在显示
2 个修改的文件
包含
4 行增加
和
2 行删除
| @@ -80,7 +80,8 @@ public class XssHttpServletRequestWrapper extends HttpServletRequestWrapper | @@ -80,7 +80,8 @@ public class XssHttpServletRequestWrapper extends HttpServletRequestWrapper | ||
| 80 | } | 80 | } |
| 81 | 81 | ||
| 82 | @Override | 82 | @Override |
| 83 | - public int available() throws IOException { | 83 | + public int available() throws IOException |
| 84 | + { | ||
| 84 | return jsonBytes.length; | 85 | return jsonBytes.length; |
| 85 | } | 86 | } |
| 86 | 87 |
| @@ -47,6 +47,7 @@ export function logout() { | @@ -47,6 +47,7 @@ export function logout() { | ||
| 47 | export function getCodeImg() { | 47 | export function getCodeImg() { |
| 48 | return request({ | 48 | return request({ |
| 49 | url: '/captchaImage', | 49 | url: '/captchaImage', |
| 50 | - method: 'get' | 50 | + method: 'get', |
| 51 | + timeout: 20000 | ||
| 51 | }) | 52 | }) |
| 52 | } | 53 | } |
-
请 注册 或 登录 后发表评论