增加超时时间

This commit is contained in:
bb_pan 2025-07-25 16:49:58 +08:00
parent 5a385e346f
commit 81936877a8
2 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@ const httpInterceptor = {
}
// 2. 设置请求超时时间默认为60s设置为 10s
options.timeout = 15000
options.timeout = 30000
// 3. 增加小程序端请求头标识
options.header = {

View File

@ -20,8 +20,8 @@ export default defineConfig({
proxy: {
// 在此处编写代理规则
'/api': {
// target: 'http://192.168.2.76:18080',
target: 'http://192.168.0.96:18080',
target: 'http://sgwpdm.ah.sgcc.com.cn/iws/jiju-api',
// target: 'http://192.168.0.96:18080',
// target: 'http://36.33.26.201:19988/prod-api/',
// target: 'http://192.168.0.234:18080',
// target: 'http://localhost:18080',