恒通大,褓座 获取真实数据

This commit is contained in:
ljx 2025-04-27 16:57:06 +08:00
parent a0c8d6f7ed
commit d28e26fa71
1 changed files with 3 additions and 1 deletions

View File

@ -3212,7 +3212,9 @@ function getCurrentAddress() {
if(getCurrentAddress().includes('192.168')){ if(getCurrentAddress().includes('192.168')){
console.log('当前环境为开发环境'); console.log('当前环境为开发环境');
api.post2('/api/web/getBiData').then(res => { api.post2('/api/web/getBiData').then(res => {
if(res.code === 200){
testRes = res; testRes = res;
}
}) })
}else{ }else{
console.log('当前环境为生产环境'); console.log('当前环境为生产环境');