调整签约,调整统一接口模式增加App版本号
This commit is contained in:
@@ -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({
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"name" : "抖火",
|
||||
"appid" : "__UNI__C305C03",
|
||||
"description" : "纵有疾风起,人生不言弃",
|
||||
"versionName" : "1.3.3",
|
||||
"versionName" : "1.3.4",
|
||||
"versionCode" : 103,
|
||||
"transformPx" : false,
|
||||
/* 5+App特有相关 */
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="block open-interest">
|
||||
<view class="title">仅需三步即可成为业务员</view>
|
||||
<view class="title">仅需3步即可成为业务员</view>
|
||||
<view class="open-interest-block">
|
||||
<image class="open-interest-icon" :src="isCertification ? require('@/static/icons/work_icon_25.png'): require('@/static/icons/work_icon_24.png')"></image>
|
||||
<view class="open-interest-text">
|
||||
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user