|
|
|
@ -39,17 +39,13 @@ export function initAxiosInterceptors(props) {
|
|
|
|
|
|
|
|
|
|
// TODO 读取到package.json中的配置?
|
|
|
|
|
var proxy = "http://localhost:3000"
|
|
|
|
|
// proxy = "http://testbdweb.trustie.net"
|
|
|
|
|
// proxy = "http://testbdweb.educoder.net"
|
|
|
|
|
// proxy = "https://testeduplus2.educoder.net"
|
|
|
|
|
// proxy="http://47.96.87.25:48080"
|
|
|
|
|
// // wy
|
|
|
|
|
|
|
|
|
|
// proxy="https://pre-newweb.educoder.net"
|
|
|
|
|
// proxy="https://test-newweb.educoder.net"
|
|
|
|
|
proxy="http://192.168.2.63:3001";
|
|
|
|
|
|
|
|
|
|
// wy
|
|
|
|
|
// proxy="http://192.168.2.63:3001"
|
|
|
|
|
proxy="http://192.168.2.63:3001"
|
|
|
|
|
|
|
|
|
|
// 在这里使用requestMap控制,避免用户通过双击等操作发出重复的请求;
|
|
|
|
|
// 如果需要支持重复的请求,考虑config里面自定义一个allowRepeat参考来控制
|
|
|
|
|