This commit is contained in:
binbin_pan 2024-09-24 11:30:34 +08:00
parent 37f3819604
commit 3d042118a5
2 changed files with 8 additions and 9 deletions

View File

@ -39,9 +39,9 @@ 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/',
@ -52,7 +52,7 @@ module.exports = {
//实名制移动端-文件
realFileUrl:'http://192.168.0.14:1909/file/',
// 应用信息
// 应用信息
appInfo: {
// 应用名称
name: "作业管控智慧平台",

View File

@ -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'
})
}