This commit is contained in:
xiaozhiyong
2023-09-18 17:22:04 +08:00
parent 49fc0e5531
commit 5a73a4e9a6
9 changed files with 701 additions and 401 deletions

View File

@@ -5,7 +5,7 @@ import utils from '@/utils/encode'
// const env = 'test'
const env = 'production'
// 45
const testUrl = 'http://192.168.1.132:38080'
const testUrl = 'http://192.168.1.83:38080'
// const productUrl = 'https://www.xingoil.com/adminapi'
const productUrl = 'http://uat.xingoil.com/adminapi'
@@ -19,7 +19,7 @@ const service = axios.create({
let closeShowLoading
var url = ''
service.interceptors.request.use(
config => {
config => {
// 拦截请求
closeShowLoading = config?.closeShowLoading||false;
// console.log(closeShowLoading,'isLoadingisLoadingisLoading')
@@ -125,6 +125,7 @@ service.interceptors.response.use(
})
}, 2000)
}
return Promise.reject()
}
}
}