4.3提交
This commit is contained in:
+2
-2
@@ -1,4 +1,4 @@
|
||||
|
||||
let BASE_URL='https://dev-app.igandan.com/app';
|
||||
//let BASE_URL='https://app.igandan.com/app'
|
||||
//let BASE_URL='https://dev-app.igandan.com/app';
|
||||
let BASE_URL='https://app.igandan.com/app'
|
||||
export default BASE_URL
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
let DOC_URL='https://dev-doc.igandan.com/app/';
|
||||
//let DOC_URL='https://doc.igandan.com/app/'
|
||||
//let DOC_URL='https://dev-doc.igandan.com/app/';
|
||||
let DOC_URL='https://doc.igandan.com/app/'
|
||||
// if(app.globalData.apiHost.indexOf('dev')>-1){
|
||||
// DOC_URL='https://dev-doc.igandan.com/app/'
|
||||
// }else{
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
let OTHER_HOST='https://dev-wx.igandan.com'
|
||||
//let OTHER_HOST='https://wx.igandan.com'
|
||||
//let OTHER_HOST='https://dev-wx.igandan.com'
|
||||
let OTHER_HOST='https://wx.igandan.com'
|
||||
//const app = getApp({allowDefault: true});
|
||||
// if(app.globalData.apiHost && app.globalData.apiHost.indexOf('dev')>-1){
|
||||
// OTHER_HOST='https://dev-wx.igandan.com'
|
||||
|
||||
+6
-3
@@ -58,10 +58,12 @@ export const request = (url, data = {}, method = 'post', loading = false, conten
|
||||
header['Authorization']='Bearer ' + token;
|
||||
let userInfo= uni.getStorageSync('userInfo')
|
||||
defaultData = {
|
||||
version: version,
|
||||
mini_version: version,
|
||||
version: uni.getStorageSync('app_version'),
|
||||
user_uuid:userInfo.uuid,
|
||||
client_type:client_type,
|
||||
timestamp:new Date().getTime()
|
||||
timestamp:new Date().getTime(),
|
||||
|
||||
}
|
||||
postData={
|
||||
...data,
|
||||
@@ -75,7 +77,8 @@ export const request = (url, data = {}, method = 'post', loading = false, conten
|
||||
let userInfo= uni.getStorageSync('userInfo')
|
||||
console.log(userInfo)
|
||||
defaultData = {
|
||||
version: version,
|
||||
mini_version: version,
|
||||
version: uni.getStorageSync('app_version'),
|
||||
user_uuid:userInfo.uuid,
|
||||
client_type:client_type,
|
||||
timestamp:new Date().getTime()+""
|
||||
|
||||
+1
-1
@@ -1,2 +1,2 @@
|
||||
const version="4.2.5"
|
||||
const version="4.2.7"
|
||||
export default version
|
||||
Reference in New Issue
Block a user