添加了接口
但是我在react里面
let data =await axios.post('http://127.0.0.1:8033/ff30d02a10c33f09e86b/api/user/login',{
params:{
account:this.state.account,
password:this.state.password
}
}).then(data=>{
return data;
});
返回提示{code: "ETIMEDOUT", errno: "ETIMEDOUT", syscall: "connect", address: "47.93.62.181", port: 8034}
address
:
"47.93.62.181"
code
:
"ETIMEDOUT"
errno
:
"ETIMEDOUT"
port
:
8034
syscall
:
"connect"
errorMessage
:
"Get data is failed,API dose not exist or parameters are error,may be you should send some parameters to proxy URL"
proxyUrl
:
"http://47.93.62.181:8034//api/user/login"
我关闭了二次代理的啊
添加了接口 但是我在react里面 let data =await axios.post('http://127.0.0.1:8033/ff30d02a10c33f09e86b/api/user/login',{ params:{ account:this.state.account, password:this.state.password } }).then(data=>{ return data; }); 返回提示{code: "ETIMEDOUT", errno: "ETIMEDOUT", syscall: "connect", address: "47.93.62.181", port: 8034} address : "47.93.62.181" code : "ETIMEDOUT" errno : "ETIMEDOUT" port : 8034 syscall : "connect" errorMessage : "Get data is failed,API dose not exist or parameters are error,may be you should send some parameters to proxy URL" proxyUrl : "http://47.93.62.181:8034//api/user/login" 我关闭了二次代理的啊