From 3d042118a532dffc20a1d0440df3346988f1326e Mon Sep 17 00:00:00 2001 From: binbin_pan Date: Tue, 24 Sep 2024 11:30:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.js | 8 ++++---- pages/gzt/index.vue | 9 ++++----- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/config.js b/config.js index 856b094..0d9be51 100644 --- a/config.js +++ b/config.js @@ -39,20 +39,20 @@ module.exports = { uploadUrl: 'http://192.168.0.14:19999/exam-file/file/uploadBase64', bmwUrl: 'http://192.168.0.14:19999/exam-bmw', // 体检-基础路径 - tjBaseUrl: 'http://192.168.0.14:19100/AppPeaManager', + tjBaseUrl: 'http://192.168.0.14:18077/AppPeaManager', // tjBaseUrl: 'http://192.168.2.91:19100/AppPeaManager', - tjFile: 'http://112.29.103.165:1616/medicalDocumentation/statics/', + tjFile: 'http://192.168.0.14:18077/medicalDocumentation/statics/', //实名制移动端-登录接口 realLoginUrl:'http://192.168.0.14:9200/', //实名制移动端-移动 - realAppUrl:'http://192.168.0.14:1913/app', + realAppUrl:'http://192.168.0.14:1913/app', //实名制移动端-安培 realExamUrl:'http://192.168.0.14:1910', //实名制移动端-文件 realFileUrl:'http://192.168.0.14:1909/file/', - // 应用信息 + // 应用信息 appInfo: { // 应用名称 name: "作业管控智慧平台", diff --git a/pages/gzt/index.vue b/pages/gzt/index.vue index bdc8a57..760a191 100644 --- a/pages/gzt/index.vue +++ b/pages/gzt/index.vue @@ -236,7 +236,7 @@ }, 500) } else { uni.showToast({ - title: req.msg, + title: '系统异常,请联系管理员', icon: 'none' }) } @@ -244,7 +244,7 @@ fail: err => { console.log('🚀 ~ gotoYy ~ err:', err) uni.showToast({ - title: err.msg, + title: '系统异常,请联系管理员', icon: 'none' }) } @@ -264,7 +264,6 @@ // uni.setStorageSync('tjToken', res.data.token) uni.setStorageSync('realNameToken', res.data.data.access_token) uni.setStorageSync('realNameUser', res.data.data.loginUser.sysUser) - uni.removeStorageSync('hasChosenPro') setTimeout(() => { uni.reLaunch({ url: '/pages/realName/index/index' @@ -309,7 +308,7 @@ }, 500) } else { uni.showToast({ - title: res.data.message, + title: '系统异常,请联系管理员', icon: 'none' }) } @@ -317,7 +316,7 @@ fail: err => { console.log('🚀 ~ gotoYy ~ err:', err) uni.showToast({ - title: err.errMsg, + title: '系统异常,请联系管理员', icon: 'none' }) }