更新域名配置
This commit is contained in:
parent
e203b2bdd5
commit
6580c6f7cd
@ -5,6 +5,7 @@ let httpApiTwo; // 物流系统域名
|
|||||||
// const env = 'dev'; // 开发
|
// const env = 'dev'; // 开发
|
||||||
const env = 'prod'; // 生产
|
const env = 'prod'; // 生产
|
||||||
// const env = 'prew'; // 预上线
|
// const env = 'prew'; // 预上线
|
||||||
|
// const env = 'local'; // 本地
|
||||||
|
|
||||||
switch (env) {
|
switch (env) {
|
||||||
case 'prod':
|
case 'prod':
|
||||||
@ -17,6 +18,11 @@ switch (env) {
|
|||||||
httpApiThree = 'https://preview-worker-task.lihaink.cn' //预上线
|
httpApiThree = 'https://preview-worker-task.lihaink.cn' //预上线
|
||||||
httpApiTwo = 'https://preview-logistics.lihaink.cn' //预上线
|
httpApiTwo = 'https://preview-logistics.lihaink.cn' //预上线
|
||||||
break;
|
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:
|
default:
|
||||||
httpApi = 'https://ceshi-worker-task.lihaink.cn' //测试
|
httpApi = 'https://ceshi-worker-task.lihaink.cn' //测试
|
||||||
httpApiThree = 'https://ceshi-worker-task.lihaink.cn' //测试
|
httpApiThree = 'https://ceshi-worker-task.lihaink.cn' //测试
|
||||||
|
Loading…
x
Reference in New Issue
Block a user