|
@@ -117,9 +117,9 @@ const TIME_OUT = 120000;
|
|
const axiosInstance = axios.create({
|
|
const axiosInstance = axios.create({
|
|
baseURL: 'http://api.zjtcn.com/user',
|
|
baseURL: 'http://api.zjtcn.com/user',
|
|
timeout: TIME_OUT,
|
|
timeout: TIME_OUT,
|
|
- proxy: {
|
|
|
|
|
|
+ /* proxy: {
|
|
host: "127.0.0.1", port: "8888" // Fiddler抓包,需要打开Fiddler否则会报connect error
|
|
host: "127.0.0.1", port: "8888" // Fiddler抓包,需要打开Fiddler否则会报connect error
|
|
- },
|
|
|
|
|
|
+ }, */
|
|
headers: {
|
|
headers: {
|
|
'Cache-Control': 'max-age=0',
|
|
'Cache-Control': 'max-age=0',
|
|
'Content-Type': 'application/x-www-form-urlencoded',
|
|
'Content-Type': 'application/x-www-form-urlencoded',
|