优化代码

This commit is contained in:
pengxiaolong
2025-08-21 22:07:46 +08:00
parent 89014e306e
commit cb34cd9673
2 changed files with 6 additions and 4 deletions

View File

@@ -15,10 +15,10 @@ import { setStorage , getStorage } from '@/utils/storage.js';
let baseURL = ''
if (process.env.NODE_ENV === 'development') {
// 生产环境
baseURL = "http://192.168.1.174:8086/"
baseURL = "https://pk.zhukeping.com/"
} else {
// 测试环境
baseURL = "http://192.168.1.174:8086/"
baseURL = "https://pk.zhukeping.com/"
}
// 请求拦截器