From a24fe7a84cda5a918ad52adcc87b8c91e844299f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=94=90=E6=98=8E=E6=98=8E?= <970899069@qq.com> Date: Thu, 9 Mar 2023 11:35:26 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=AD=BE=E7=BA=A6=EF=BC=8C?= =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=BB=9F=E4=B8=80=E6=8E=A5=E5=8F=A3=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=E5=A2=9E=E5=8A=A0App=E7=89=88=E6=9C=AC=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apis/index.js | 9 +++++---- manifest.json | 2 +- pages/work/index.vue | 6 ++---- 3 files changed, 8 insertions(+), 9 deletions(-) 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 => {