错误提示
This commit is contained in:
parent
c9d309e1d6
commit
e48399a0b6
@ -371,7 +371,7 @@
|
||||
}
|
||||
this.doneGood()
|
||||
this.showPop = false
|
||||
this.showMore()
|
||||
// this.showMore()
|
||||
|
||||
},
|
||||
// 送达
|
||||
@ -380,8 +380,15 @@
|
||||
take_code: this.take_code,
|
||||
logistics_id: this.goodsInfo.id
|
||||
}).then(res => {
|
||||
console.log(res)
|
||||
this.$emit('showTost')
|
||||
this.$emit('getlist')
|
||||
}).catch(err => {
|
||||
console.log(err.msg)
|
||||
uni.showToast({
|
||||
title: err.msg,
|
||||
icon: "none"
|
||||
})
|
||||
})
|
||||
},
|
||||
|
||||
|
@ -1,26 +1,26 @@
|
||||
let httpApiThree;
|
||||
let httpApi; // 总域名
|
||||
let httpApiTwo; // 物流系统域名
|
||||
let httpApi; // 总域名
|
||||
let httpApiTwo; // 物流系统域名
|
||||
|
||||
// const env = 'dev'; // 开发
|
||||
const env = 'prod'; // 生产
|
||||
// const env = 'dev'; // 开发
|
||||
const env = 'prod'; // 生产
|
||||
// const env = 'prew'; // 预上线
|
||||
|
||||
switch(env){
|
||||
case 'prod':
|
||||
httpApi = 'https://worker-task.lihaink.cn' //正式
|
||||
httpApiTwo = 'https://logistics.lihaink.cn' //正式环境
|
||||
httpApiThree = 'https://worker-task.lihaink.cn' //正式
|
||||
break;
|
||||
case 'prew':
|
||||
httpApi = 'https://preview-worker-task.lihaink.cn' //预上线
|
||||
httpApiThree = 'https://preview-worker-task.lihaink.cn' //预上线
|
||||
httpApiTwo = 'https://preview-logistics.lihaink.cn' //预上线
|
||||
break;
|
||||
default:
|
||||
httpApi = 'https://ceshi-worker-task.lihaink.cn' //测试
|
||||
httpApiThree = 'https://ceshi-worker-task.lihaink.cn' //测试
|
||||
httpApiTwo = 'https://ceshi-logistics.lihaink.cn' //测试环境
|
||||
switch (env) {
|
||||
case 'prod':
|
||||
httpApi = 'https://worker-task.lihaink.cn' //正式
|
||||
httpApiTwo = 'https://logistics.lihaink.cn' //正式环境
|
||||
httpApiThree = 'https://worker-task.lihaink.cn' //正式
|
||||
break;
|
||||
case 'prew':
|
||||
httpApi = 'https://preview-worker-task.lihaink.cn' //预上线
|
||||
httpApiThree = 'https://preview-worker-task.lihaink.cn' //预上线
|
||||
httpApiTwo = 'https://preview-logistics.lihaink.cn' //预上线
|
||||
break;
|
||||
default:
|
||||
httpApi = 'https://ceshi-worker-task.lihaink.cn' //测试
|
||||
httpApiThree = 'https://ceshi-worker-task.lihaink.cn' //测试
|
||||
httpApiTwo = 'https://ceshi-logistics.lihaink.cn' //测试环境
|
||||
}
|
||||
|
||||
|
||||
|
1212
pages.json
1212
pages.json
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user