From 6580c6f7cdd93e8b4d6bc0921eaefec6b4637af8 Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Wed, 18 Oct 2023 09:05:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=9F=9F=E5=90=8D=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/app.js | 6 ++++++ 1 file changed, 6 insertions(+) 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' //测试