Commit d76d43e7 authored by xiangzj's avatar xiangzj

测试环境优化

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