diff --git a/config/app.js b/config/app.js index 7991a47..667bd25 100644 --- a/config/app.js +++ b/config/app.js @@ -5,6 +5,7 @@ let httpApiTwo; // 物流系统域名 // const env = 'dev'; // 开发 const env = 'prod'; // 生产 // const env = 'prew'; // 预上线 +// const env = 'local'; // 本地 switch (env) { case 'prod': @@ -17,6 +18,11 @@ switch (env) { httpApiThree = 'https://preview-worker-task.lihaink.cn' //预上线 httpApiTwo = 'https://preview-logistics.lihaink.cn' //预上线 break; + case 'local': + httpApi = 'http://192.168.1.12:8001' //预上线 + httpApiThree = 'http://192.168.1.12:8001' //预上线 + httpApiTwo = 'http://192.168.1.12:8001' //预上线 + break; default: httpApi = 'https://ceshi-worker-task.lihaink.cn' //测试 httpApiThree = 'https://ceshi-worker-task.lihaink.cn' //测试