diff --git a/apis/index.js b/apis/index.js index 0bf4ee8..917ef93 100644 --- a/apis/index.js +++ b/apis/index.js @@ -10,8 +10,8 @@ import router from '../router' // 基础配置 const config = { - // apiUrl : 'https://douhuo.douhuofalv.com/api/', - apiUrl : 'https://api.douhuotest.douhuofalv.com/api/', //测试环境 + apiUrl : 'https://douhuo.douhuofalv.com/api/', + // apiUrl : 'https://api.douhuotest.douhuofalv.com/api/', //测试环境 timeout : 60000 } @@ -29,8 +29,9 @@ const request = (parameter, hideLoding = true) => { } // 注入header config.header = { - 'Accept': 'application/json', - 'Authorization': store.getters.getToken || uni.getStorageSync('token') + 'Accept' : 'application/json', + 'Authorization' : store.getters.getToken || uni.getStorageSync('token'), + 'Version' : plus.runtime.version } // 加载提示 if(!hideLoding) uni.showLoading({ diff --git a/manifest.json b/manifest.json index d5a0d31..a9eb27f 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "name" : "抖火", "appid" : "__UNI__C305C03", "description" : "纵有疾风起,人生不言弃", - "versionName" : "1.3.3", + "versionName" : "1.3.4", "versionCode" : 103, "transformPx" : false, /* 5+App特有相关 */ diff --git a/pages/work/index.vue b/pages/work/index.vue index c44921a..22a32bf 100644 --- a/pages/work/index.vue +++ b/pages/work/index.vue @@ -26,7 +26,7 @@ - 仅需三步即可成为业务员 + 仅需3步即可成为业务员 @@ -251,7 +251,7 @@ } if(this.sign.address == ''){ uni.showToast({ - title: '暂时无法签约,请前往个人中心我的信息完善通讯地址信息后重试', + title: '暂时无法签约,请前往“我的”,点击用户头像,完善通讯地址信息后重试', icon : 'none' }) return @@ -319,8 +319,6 @@ }, // 创建订单 onCreateOrder(){ - console.log('需要检查一下是否已经做了业务员签约') - uni.showActionSheet({ itemList: ['个人订单', '客户订单'], success : res => {