12.10提交

This commit is contained in:
zoujiandong
2025-12-10 17:33:39 +08:00
parent 22104881f1
commit c86aa03f01
28 changed files with 3237 additions and 279 deletions
+2 -3
View File
@@ -1,7 +1,6 @@
console.log('打印app');
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'
// try {
// const app = getApp({allowDefault: true});
+2 -2
View File
@@ -1,6 +1,6 @@
//const app = getApp({allowDefault: true});
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{
+1 -1
View File
@@ -3,7 +3,7 @@ const formatNumber = (number) => {
if(number < 10000){
return number;
}else{
return (number / 10000).toFixed(1) + 'w';
return (number / 10000).toFixed(1) + '';
}
}
export default formatNumber;
+2 -2
View File
@@ -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'
+3 -1
View File
@@ -89,7 +89,7 @@ export const request = (url, data = {}, method = 'post', loading = false, conten
}
console.log(postData);
return new Promise(function(e, n) {
let timestamp = Date.now();
uni.request({
@@ -141,6 +141,8 @@ export const request = (url, data = {}, method = 'post', loading = false, conten
})
plus.runtime.quit();
}else if(res.data.code==106){
e(res.data)
}else{
uni.showToast({
title: res.data.message,