fetch(new Request('http://localhost:8180/sys/login',{
method:'POST',
headers: {'Content-Type': 'application/x-www-form-urlencoded'},
body:"username=admin&password=admin&captchaCode=yha1"
})).then((resp)=>{console.log(resp)})
主要是方便测试一下