This commit is contained in:
Aiden 2024-10-21 10:12:19 +08:00
parent 2a7e7bf957
commit 3d03a580fc
13 changed files with 57 additions and 74 deletions

View File

@ -1,3 +1,3 @@
export default {
baseUrl: "https://stock.szjixun.cn", //"https://warehouse.szjixun.cn", // https://stock.szjixun.cn
baseUrl: "https://warehouse.szjixun.cn", //"https://warehouse.szjixun.cn", // https://stock.szjixun.cn
};

View File

@ -4,7 +4,7 @@
*/
export default {
config: {
baseUrl: "https://stock.szjixun.cn", //"http://172.16.100.93:8017", //"http://192.168.88.175:9021",//测试 'https://warehouse.szjixun.cn' 正式 https://stock.szjixun.cn
baseUrl: "https://warehouse.szjixun.cn", //"http://172.16.100.93:8017", //"http://192.168.88.175:9021",//测试 'https://warehouse.szjixun.cn' 正式 https://stock.szjixun.cn
header: {
"Content-Type": "application/json;charset=UTF-8",
// 'Content-Type':'application/x-www-form-urlencoded'
@ -62,7 +62,7 @@ export default {
}
if (response.data?.status === 401) {
uni.showModal({
title:'登录后使用完整功能',
title: "登录后使用完整功能",
success: (res) => {
if (res.confirm) {
let curPage = getCurrentPages();
@ -73,10 +73,8 @@ export default {
});
}
}
}
})
},
});
}
// 统一的响应日志记录
_reslog(response);

File diff suppressed because one or more lines are too long

View File

@ -49,15 +49,7 @@
}
},
"subpackages": [
{
"root": "pagesFace",
"name": "pagesFace",
"pages": [
"pages/index/index",
"pages/webview/webview",
"pages/middle/middle"
]
}
],
"usingComponents": {}
}

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
{
"component": true,
"usingComponents": {}
"usingComponents": {},
"component": true
}

View File

@ -1,7 +1,8 @@
{
"description": "项目配置文件。",
"packOptions": {
"ignore": []
"ignore": [],
"include": []
},
"setting": {
"urlCheck": false,
@ -9,28 +10,20 @@
"postcss": false,
"minified": false,
"newFeature": true,
"bigPackageSizeSupport": true
"bigPackageSizeSupport": true,
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
}
},
"compileType": "miniprogram",
"libVersion": "",
"libVersion": "3.1.0",
"appid": "wx2ab0adfa3346d44f",
"projectname": "uni-Identify-quality",
"condition": {
"search": {
"current": -1,
"list": []
},
"conversation": {
"current": -1,
"list": []
},
"game": {
"current": -1,
"list": []
},
"miniprogram": {
"current": -1,
"list": []
}
"condition": {},
"editorSetting": {
"tabIndent": "insertSpaces",
"tabSize": 4
}
}

View File

@ -1,7 +1,7 @@
{
"component": true,
"usingComponents": {
"u-loading-icon": "/uview-ui/components/u-loading-icon/u-loading-icon",
"u-icon": "/uview-ui/components/u-icon/u-icon"
}
},
"component": true
}

View File

@ -1,4 +1,4 @@
{
"component": true,
"usingComponents": {}
"usingComponents": {},
"component": true
}

View File

@ -1,6 +1,6 @@
{
"component": true,
"usingComponents": {
"u-line": "/uview-ui/components/u-line/u-line"
}
},
"component": true
}

View File

@ -1,4 +1,4 @@
{
"component": true,
"usingComponents": {}
"usingComponents": {},
"component": true
}

View File

@ -1,4 +1,4 @@
{
"component": true,
"usingComponents": {}
"usingComponents": {},
"component": true
}

View File

@ -1,7 +1,7 @@
{
"component": true,
"usingComponents": {
"u-icon": "/uview-ui/components/u-icon/u-icon",
"u-loading-icon": "/uview-ui/components/u-loading-icon/u-loading-icon"
}
},
"component": true
}