提交 134835c8 authored 作者: RuoYi's avatar RuoYi

验证码默认20s超时

上级 5ade90de
...@@ -80,7 +80,8 @@ public class XssHttpServletRequestWrapper extends HttpServletRequestWrapper ...@@ -80,7 +80,8 @@ public class XssHttpServletRequestWrapper extends HttpServletRequestWrapper
} }
@Override @Override
public int available() throws IOException { public int available() throws IOException
{
return jsonBytes.length; return jsonBytes.length;
} }
......
...@@ -47,6 +47,7 @@ export function logout() { ...@@ -47,6 +47,7 @@ export function logout() {
export function getCodeImg() { export function getCodeImg() {
return request({ return request({
url: '/captchaImage', url: '/captchaImage',
method: 'get' method: 'get',
timeout: 20000
}) })
} }
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论