验证码默认20s超时

This commit is contained in:
RuoYi 2021-08-29 15:56:46 +08:00
parent 5ade90debf
commit 134835c870
2 changed files with 4 additions and 2 deletions

View File

@ -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;
} }

View File

@ -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
}) })
} }