"...src/main/git@ustchcs.com:gujinli1118/RuoYi-Vue.git" did not exist on "db193a46e8a8a5cdc0c4bcde7b2126af85b6ef0b"
Commit 134835c8 authored by RuoYi's avatar RuoYi
Browse files

验证码默认20s超时

parent 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
Supports Markdown
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