Commit d76d43e7 authored by xiangzj's avatar xiangzj

测试环境优化

parent 11b66a7c
{
"name" : "易商",
"name" : "五粮液易商",
// "appid" : "__UNI__EDB6A1F",
"appid" : "__UNI__EDB6A1F",
"description" : "订货系统",
"versionName" : "1.1.36",
"versionCode" : "10136",
"versionName" : "1.1.20",
"versionCode" : "10120",
"transformPx" : false,
"app-plus" : {
/* 5+App特有相关 */
......@@ -51,7 +51,8 @@
"ios" : {
"dSYMs" : false,
"urlschemewhitelist" : "uumbs",
"urltypes" : "uusafeportalwly"
"urltypes" : "uusafeportalwly",
"idfa" : false
},
/* ios打包配置 */
"sdkConfigs" : {
......
......@@ -212,7 +212,8 @@
title: '加载中'
});
const params ={
"uuid": "f3eea700a3686e47038a4b047af6d934DsRudwTZSRY",
"uuid": "f3eea700a3686e47038a4b047af6d934DsRudwTZSRY", //测试环境
// "uuid": "13a384b65f030d9a0a6636702ca6b0e5ygV3eEOmHBy", //生产环境
"accessToken": this.accessToken
}
try{
......@@ -228,16 +229,20 @@
this.goLogin(parmasObj, false)
}else{
uni.hideLoading();
// uni.showToast({
// title: '登录异常',
// icon: 'none',
// duration: 1500
// });
console.log(res.errorNumber - 0 === 0,'非')
uni.showToast({
title: res.errors && res.errors[0] || res.errorMessage,
icon: 'none',
duration: 1500
});
return
}
}catch(e){
uni.showToast({
title: e,
icon: 'none',
duration: 1500
});
//TODO handle the exception
}
},
......
......@@ -528,8 +528,8 @@
.block-detal-item {
display: flex;
overflow: hidden;
height: 96rpx;
margin-bottom: 14rpx;
height: 118rpx;
// margin-bottom: 14rpx;
border-bottom: 1px solid #f4f5f6;
}
......@@ -541,16 +541,16 @@
.detal-item-label {
flex: 2;
font-size: 28rpx;
line-height: 96rpx;
line-height: 118rpx;
color: #333;
margin-bottom: 8rpx;
// margin-bottom: 8rpx;
}
.detal-item-value {
flex: 2;
font-size: 28rpx;
line-height: 96rpx;
height: 96rpx;
line-height: 118rpx;
height: 118rpx;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
......@@ -563,7 +563,7 @@
// height: 96rpx;
color: #888;
margin-top: 10rpx;
align-items: center;
// align-items: center;
}
.btn {
flex: 1;
......
......@@ -183,16 +183,16 @@ class Request {
if (config.url.indexOf('crm-app') !== -1) {
// config.baseUrl = 'http://218.89.67.37:8001'
// config.baseUrl = 'https://crm.wuliangye.com.cn'
config.baseUrl = 'http://221.10.127.60:5000'
} else if (config.url.indexOf('adapter') !== -1) {
// config.baseUrl = 'http://api.wuliangcreart.com'
config.baseUrl = 'http://221.10.127.60:5000/gateway/cyj'
} else if (config.url.indexOf('wmdpwebservices') !== -1) {
// config.baseUrl = 'http://218.89.67.37:8001/gateway/sczx'
// config.baseUrl = 'https://crm.wuliangye.com.cn/gateway/sczx'
config.baseUrl = 'http://221.10.127.60:5000/gateway/sczx'
} else if (config.url.indexOf('wmdp-storeapp') !== -1) {
// config.baseUrl = 'http://218.89.67.37:8001/gateway/zdcx'
// config.baseUrl = 'https://crm.wuliangye.com.cn/gateway/zdcx'
config.baseUrl = 'http://221.10.127.60:5000/gateway/zdcx'
} else if (config.url.indexOf('uusafe') !== -1) {
// config.baseUrl = 'https://apps.wuliangye.com.cn:9076'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment