diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json index 4ccd172..9b0d791 100644 --- a/.hbuilderx/launch.json +++ b/.hbuilderx/launch.json @@ -13,7 +13,7 @@ "type" : "uniCloud" }, { - "playground" : "custom", + "playground" : "standard", "type" : "uni-app:app-android" } ] diff --git a/config.js b/config.js index a7c1f72..f9d3b47 100644 --- a/config.js +++ b/config.js @@ -1,63 +1,63 @@ // 产线 -// module.exports = { -// // http://192.168.0.14:19999 -// loginBaseUrl:'http://112.29.103.165:1616', -// baseUrl:'http://112.29.103.165:1616/exam', -// // login: 'http://112.29.103.165:1616', -// login: 'http://112.29.103.165:1616/exam/exam-auth/', -// // 图片展示基础地址 -// fileUrl:'http://112.29.103.165:1616/exam-file/', -// // 上传文件地址 -// uploadUrl: 'http://112.29.103.165:1616/exam-file/file/uploadBase64', -// bmwUrl: 'http://112.29.103.165:1616/exam-bmw', -// // 体检-基础路径 -// tjBaseUrl: 'http://112.29.103.165:1616/AppPeaManager', -// tjFile: 'http://112.29.103.165:1616/medicalDocumentation/statics/', -// // 应用信息 -// appInfo: { -// // 应用名称 -// name: "作业管控智慧平台", -// // 应用版本 -// version: "1.1.0", -// } -// } -// 测试环境 module.exports = { - // baseUrl:'/prod-api', // http://192.168.0.14:19999 - loginBaseUrl: 'http://112.29.103.165:1616', - // loginBaseUrl: 'http://192.168.0.14:27018', - // loginBaseUrl:'http://192.168.0.14:19999', - // baseUrl:'http://192.168.0.14:2900', - baseUrl: 'http://192.168.0.14:19999', - // loginUrl: 'http://112.29.103.165:1616', - login: 'http://192.168.0.14:19200', + loginBaseUrl:'http://112.29.103.165:1616', + baseUrl:'http://112.29.103.165:1616/exam', + // login: 'http://112.29.103.165:1616', + login: 'http://112.29.103.165:1616/exam/exam-auth/', // 图片展示基础地址 - fileUrl: 'http://192.168.0.14:19999/exam-file/', + fileUrl:'http://112.29.103.165:1616/exam-file/', // 上传文件地址 - uploadUrl: 'http://192.168.0.14:19999/exam-file/file/uploadBase64', - bmwUrl: 'http://192.168.0.14:19999/exam-bmw', + uploadUrl: 'http://112.29.103.165:1616/exam-file/file/uploadBase64', + bmwUrl: 'http://112.29.103.165:1616/exam-bmw', // 体检-基础路径 - tjBaseUrl: 'http://192.168.0.14:18077/AppPeaManager', - // tjBaseUrl: 'http://192.168.2.91:19100/AppPeaManager', - tjFile: 'http://192.168.0.14:18077/medicalDocumentation/statics/', - - //实名制移动端-登录接口 - realLoginUrl: 'http://192.168.0.14:9200/', - //实名制移动端-移动 - realAppUrl: 'http://192.168.0.14:1913/app', - //实名制移动端-安培 - realExamUrl: 'http://192.168.0.14:1910', - //实名制移动端-文件 - realFileUrl: 'http://192.168.0.14:1909/file/', - //实名制移动端 - realBmwUrl: 'http://192.168.0.14:1911/bmw', - + tjBaseUrl: 'http://112.29.103.165:1616/AppPeaManager', + tjFile: 'http://112.29.103.165:1616/medicalDocumentation/statics/', // 应用信息 appInfo: { // 应用名称 - name: '作业管控智慧平台', + name: "作业管控智慧平台", // 应用版本 - version: '1.1.0' + version: "1.1.0", } } +// 测试环境 +// module.exports = { +// // baseUrl:'/prod-api', +// // http://192.168.0.14:19999 +// loginBaseUrl: 'http://112.29.103.165:1616', +// // loginBaseUrl: 'http://192.168.0.14:27018', +// // loginBaseUrl:'http://192.168.0.14:19999', +// // baseUrl:'http://192.168.0.14:2900', +// baseUrl: 'http://192.168.0.14:19999', +// // loginUrl: 'http://112.29.103.165:1616', +// login: 'http://192.168.0.14:19200', +// // 图片展示基础地址 +// fileUrl: 'http://192.168.0.14:19999/exam-file/', +// // 上传文件地址 +// 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:18077/AppPeaManager', +// // tjBaseUrl: 'http://192.168.2.91:19100/AppPeaManager', +// tjFile: 'http://192.168.0.14:18077/medicalDocumentation/statics/', + +// //实名制移动端-登录接口 +// realLoginUrl: 'http://192.168.0.14:9200/', +// //实名制移动端-移动 +// realAppUrl: 'http://192.168.0.14:1913/app', +// //实名制移动端-安培 +// realExamUrl: 'http://192.168.0.14:1910', +// //实名制移动端-文件 +// realFileUrl: 'http://192.168.0.14:1909/file/', +// //实名制移动端 +// realBmwUrl: 'http://192.168.0.14:1911/bmw', + +// // 应用信息 +// appInfo: { +// // 应用名称 +// name: '作业管控智慧平台', +// // 应用版本 +// version: '1.1.0' +// } +// } diff --git a/manifest.json b/manifest.json index f44337f..3ca21e6 100644 --- a/manifest.json +++ b/manifest.json @@ -2,8 +2,8 @@ "name" : "作业管控智慧平台", "appid" : "__UNI__4165875", "description" : "作业管控智慧平台", - "versionName" : "1.0.9", - "versionCode" : 109, + "versionName" : "1.0.11", + "versionCode" : 111, "transformPx" : false, "app-plus" : { "runmode" : "liberate", @@ -31,7 +31,6 @@ "VideoPlayer" : {}, "Barcode" : {}, "FaceID" : {}, - "Contacts" : {}, "Geolocation" : {} }, "distribute" : { @@ -66,20 +65,19 @@ "permission" : "YES" } }, - "UIBackgroundModes" : [ "audio" ], "urlschemewhitelist" : [ "baidumap", "iosamap" ], "dSYMs" : false, "privacyDescription" : { "NSAppleMusicUsageDescription" : "库该应用需要访问你的媒体资料,以便为你编辑个人信息", - "NSPhotoLibraryUsageDescription" : "该应用需要读取你的相册,以便为你编辑个人信息", - "NSPhotoLibraryAddUsageDescription" : "该应用需要读取你的相册,以便为你编辑个人信息", - "NSCameraUsageDescription" : "该应用需要你的相机,以便你拍摄上传个人信息", - "NSMicrophoneUsageDescription" : "该应用需要你的麦克风,以便为你编辑个人信息", + "NSPhotoLibraryUsageDescription" : "该应用需要读取你的相册,以便为你编辑个人信息,更新头像设置", + "NSPhotoLibraryAddUsageDescription" : "该应用需要读取你的相册,以便为你编辑个人信息,更新头像设置", + "NSCameraUsageDescription" : "该应用需要你的相机,以便你拍摄上传个人信息,更新头像设置,验证是否为本人", + "NSMicrophoneUsageDescription" : "", "NSLocationWhenInUseUsageDescription" : "该应用需要你的位置信息,以便为你编辑个人信息", "NSLocationAlwaysUsageDescription" : "该应用需要你的位置信息,以便为你编辑个人信息", "NSLocationAlwaysAndWhenInUseUsageDescription" : "该应用需要你的位置信息,以便为你编辑个人信息", "NSCalendarsUsageDescription" : "该应用需要你的日历,以便为你编辑个人信息", - "NSContactsUsageDescription" : "该应用需要你的通讯录,以便为你编辑个人信息", + "NSContactsUsageDescription" : "", "NSLocalNetworkUsageDescription" : "该应用需要你的网络,以便为你编辑个人信息" }, "idfa" : false diff --git a/pages/gzt/index.vue b/pages/gzt/index.vue index b581417..5108233 100644 --- a/pages/gzt/index.vue +++ b/pages/gzt/index.vue @@ -269,7 +269,7 @@ export default { }, 500) } else { uni.showToast({ - title: '系统异常,请联系管理员', + title: '无权限访问', icon: 'none' }) } @@ -277,7 +277,7 @@ export default { fail: err => { console.log('🚀 ~ gotoYy ~ err:', err) uni.showToast({ - title: '系统异常,请联系管理员', + title: '无权限访问', icon: 'none' }) } @@ -314,7 +314,7 @@ export default { fail: err => { console.log('🚀 ~ gotoYy ~ err:', err) uni.showToast({ - title: err.message, + title: '无权限访问', icon: 'none' }) } @@ -342,7 +342,7 @@ export default { }, 500) } else { uni.showToast({ - title: '系统异常,请联系管理员', + title: '无权限访问', icon: 'none' }) } @@ -350,7 +350,7 @@ export default { fail: err => { console.log('🚀 ~ gotoYy ~ err:', err) uni.showToast({ - title: '系统异常,请联系管理员', + title: '无权限访问', icon: 'none' }) }