flx:修改配置

This commit is contained in:
Rain_ 2025-12-02 15:02:49 +08:00
parent e0e4a21b78
commit f5a228f2c2
2 changed files with 185 additions and 185 deletions

10
main.js
View File

@ -59,7 +59,7 @@ if (process.env.NODE_ENV === 'development') {
// Vue.prototype.url_config = 'http://jxj.zhgdyun.com:61212/' //杰哥内网穿透地址
// Vue.prototype.url_config = 'http://192.168.34.221:28890/' //郭圣雄本地
// Vue.prototype.url_config = 'http://192.168.34.221:28888/' //郭圣雄本地
Vue.prototype.url_config = 'http://192.168.34.221:8111/' //郭圣雄本地
Vue.prototype.url_config = 'http://192.168.34.221:8111/' //郭圣雄本地
// Vue.prototype.url_config = 'http://192.168.34.221:19112/' //郭圣雄本地
// Vue.prototype.url_config = 'http://182.90.224.237:51234/' //郭圣雄本地
// Vue.prototype.url_config = 'http://192.168.34.155:19111/' //彭洁本地
@ -105,7 +105,7 @@ if (process.env.NODE_ENV === 'development') {
// Vue.prototype.url_config = 'http://118.121.198.147:23232'//成润正式
// Vue.prototype.url_config = 'http://huli.zjzhiliao.com/jxjgdapi'//金林湾测试
// Vue.prototype.url_config = 'http://8.136.222.164:8808/'//中科安信
// Vue.prototype.url_config = 'http://101.43.164.214:11111/' // 百色三标段
// Vue.prototype.url_config = 'http://101.43.164.214:11111/' // 百色三标段
Vue.prototype.work_url = 'http://101.43.164.214:11137' // 工作流地址 通用
// Vue.prototype.url_config = 'http://jxj.zhgdyun.com:9500/'// 测试环境h5
// Vue.prototype.url_config = 'http://jxj.zhgdyun.com:1667/' // 测试环境h5
@ -116,7 +116,7 @@ if (process.env.NODE_ENV === 'development') {
// 生产环境
console.log('生产环境')
// Vue.prototype.url_config = 'http://121.37.106.37:9840/'
// Vue.prototype.url_config = 'http://112.93.255.85:9840/'
// Vue.prototype.url_config = 'http://112.93.255.85:9840/'
// Vue.prototype.url_config = 'http://jxjzw.zhgdyun.com:100/' // 演示平台
// Vue.prototype.work_url = 'http://jxj.zhgdyun.com:33983'// 工作流地址 演示平台
// Vue.prototype.url_config = 'http://117.146.73.156:9809/'// 中新建项目
@ -129,12 +129,12 @@ if (process.env.NODE_ENV === 'development') {
// Vue.prototype.url_config = 'http://121.37.106.37:19999/'// 新能源智慧基建管理平台
// Vue.prototype.work_url = 'http://121.37.106.37:19997'// 新能源智慧基建管理平台工作流地址
// Vue.prototype.url_config = 'http://101.43.164.214:11111/' // 百色通用
Vue.prototype.url_config = 'http://101.43.164.214:11111/' // 百色通用
Vue.prototype.work_url = 'http://101.43.164.214:11137' // 工作流地址 通用
// Vue.prototype.url_config = 'http://101.43.164.214:11112/'// 新金湾
// Vue.prototype.work_url = 'http://101.43.164.214:11137'// 新金湾地址 通用
Vue.prototype.url_config = 'http://jxj.zhgdyun.com:9500/' // 测试环境h5
// Vue.prototype.url_config = 'http://jxj.zhgdyun.com:9500/' // 测试环境h5
// Vue.prototype.url_config = 'http://jxj.zhgdyun.com:1667/' // 测试环境h5
// Vue.prototype.url_config = 'http://10.36.27.195:9809/' // 敦煌环境h5
// Vue.prototype.url_config = 'http://gszhdz.crpower.com.cn:9809/' // 敦煌环境h5

View File

@ -1,58 +1,58 @@
{
"name": "智慧安全", //
"appid": "__UNI__4AA4101",
"description": "",
"versionName": "1.8.0",
"versionCode": 180,
"transformPx": false,
"sassImplementationName": "node-sass",
"name" : "智慧安全", //
"appid" : "__UNI__4AA4101",
"description" : "",
"versionName" : "1.8.1",
"versionCode" : 181,
"transformPx" : false,
"sassImplementationName" : "node-sass",
/* 5+App */
"app-plus": {
"plugins": {
"Webview": {
"allowFileAccess": true,
"allowUniversalAccessFromFileURLs": true,
"allowFileAccessFromFileURLs": true //
"app-plus" : {
"plugins" : {
"Webview" : {
"allowFileAccess" : true,
"allowUniversalAccessFromFileURLs" : true,
"allowFileAccessFromFileURLs" : true //
}
},
"usingComponents": true,
"nvueCompiler": "uni-app",
"compilerVersion": 3,
"compression": {
"enable": true,
"type": "br" // 使 Brotli
"usingComponents" : true,
"nvueCompiler" : "uni-app",
"compilerVersion" : 3,
"compression" : {
"enable" : true,
"type" : "br" // 使 Brotli
},
"compatible": {
"ignoreVersion": true
"compatible" : {
"ignoreVersion" : true
},
"splashscreen": {
"alwaysShowBeforeRender": true,
"waiting": true,
"autoclose": true,
"delay": 0
"splashscreen" : {
"alwaysShowBeforeRender" : true,
"waiting" : true,
"autoclose" : true,
"delay" : 0
},
"nvue": {
"nvue" : {
//JSONnvue
"flex-direction": "row" //nvueflex-directionrowrow-reversecolumncolumn-reverse
"flex-direction" : "row" //nvueflex-directionrowrow-reversecolumncolumn-reverse
},
/* */
"modules": {
"Maps": {},
"VideoPlayer": {},
"Bluetooth": {},
"SQLite": {},
"Fingerprint": {},
"Speech": {},
"Record": {},
"Camera": {},
"Geolocation": {},
"LivePusher": {}
"modules" : {
"Maps" : {},
"VideoPlayer" : {},
"Bluetooth" : {},
"SQLite" : {},
"Fingerprint" : {},
"Speech" : {},
"Record" : {},
"Camera" : {},
"Geolocation" : {},
"LivePusher" : {}
},
/* */
"distribute": {
"distribute" : {
/* android */
"android": {
"permissions": [
"android" : {
"permissions" : [
"<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_CHECKIN_PROPERTIES\"/>",
@ -82,199 +82,199 @@
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
],
"abiFilters": ["armeabi-v7a", "arm64-v8a", "x86"],
"targetSdkVersion": 30,
"permissionExternalStorage": {
"request": "none",
"prompt": "应用保存运行状态等信息,需要获取读写手机存储(系统提示为访问设备上的照片、媒体内容和文件)权限,请允许。"
"abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ],
"targetSdkVersion" : 30,
"permissionExternalStorage" : {
"request" : "none",
"prompt" : "应用保存运行状态等信息,需要获取读写手机存储(系统提示为访问设备上的照片、媒体内容和文件)权限,请允许。"
},
"permissionPhoneState": {
"request": "none"
"permissionPhoneState" : {
"request" : "none"
}
},
/* ios */
"ios": {
"idfa": false,
"dSYMs": false,
"privacyDescription": {
"NSPhotoLibraryUsageDescription": "允许照片访问以修改您的头像;在您使用智慧安全进行办公时添加照片到您所提交的表单。",
"NSCameraUsageDescription": "允许相机访问用于您在使用智慧安全工作期间拍摄照片、拍摄视频、扫描二维码。",
"NSLocationWhenInUseUsageDescription": "您的位置信息将用于您在使用智慧安全期间显示当地天气;新增巡检点、一键报警功能中获取您当前位置信息。",
"NSMicrophoneUsageDescription": "允许麦克风访问用于您在使用智慧安全期间进行语音对讲、语音记录、语音识别等功能。",
"ios" : {
"idfa" : false,
"dSYMs" : false,
"privacyDescription" : {
"NSPhotoLibraryUsageDescription" : "允许照片访问以修改您的头像;在您使用智慧安全进行办公时添加照片到您所提交的表单。",
"NSCameraUsageDescription" : "允许相机访问用于您在使用智慧安全工作期间拍摄照片、拍摄视频、扫描二维码。",
"NSLocationWhenInUseUsageDescription" : "您的位置信息将用于您在使用智慧安全期间显示当地天气;新增巡检点、一键报警功能中获取您当前位置信息。",
"NSMicrophoneUsageDescription" : "允许麦克风访问用于您在使用智慧安全期间进行语音对讲、语音记录、语音识别等功能。",
// 访
"NSDocumentsFolderUsageDescription": "需要访问应用文档目录以加载资源文件",
"NSDownloadsFolderUsageDescription": "需要访问下载目录",
"NSDocumentsFolderUsageDescription" : "需要访问应用文档目录以加载资源文件",
"NSDownloadsFolderUsageDescription" : "需要访问下载目录",
//
"NSFileProviderDomainUsageDescription": "需要访问文件系统以加载解码器资源",
"NSFileProviderPresentedItemUbiquityAttributesDescription": "需要访问文件系统资源"
"NSFileProviderDomainUsageDescription" : "需要访问文件系统以加载解码器资源",
"NSFileProviderPresentedItemUbiquityAttributesDescription" : "需要访问文件系统资源"
},
//
"UIFileSharingEnabled": true,
"LSSupportsOpeningDocumentsInPlace": true,
"UIFileSharingEnabled" : true,
"LSSupportsOpeningDocumentsInPlace" : true,
//
"WKPreferences": {
"allowFileAccessFromFileURLs": true,
"allowUniversalAccessFromFileURLs": true
"WKPreferences" : {
"allowFileAccessFromFileURLs" : true,
"allowUniversalAccessFromFileURLs" : true
},
//
"com.apple.security.app-sandbox": true,
"com.apple.security.files.user-selected.read-write": true,
"com.apple.security.files.downloads.read-write": true
"com.apple.security.app-sandbox" : true,
"com.apple.security.files.user-selected.read-write" : true,
"com.apple.security.files.downloads.read-write" : true
},
/* SDK */
"sdkConfigs": {
"maps": {
"amap": {
"appkey_ios": "9510eb01b56e6428646b256cc379f695",
"appkey_android": "3b060f3a0ce4bafebeba1621dcd99c31"
"sdkConfigs" : {
"maps" : {
"amap" : {
"appkey_ios" : "9510eb01b56e6428646b256cc379f695",
"appkey_android" : "3b060f3a0ce4bafebeba1621dcd99c31"
}
},
"ad": {},
"geolocation": {
"amap": {
"__platform__": ["ios", "android"],
"appkey_ios": "9510eb01b56e6428646b256cc379f695",
"appkey_android": "3b060f3a0ce4bafebeba1621dcd99c31"
"ad" : {},
"geolocation" : {
"amap" : {
"__platform__" : [ "ios", "android" ],
"appkey_ios" : "9510eb01b56e6428646b256cc379f695",
"appkey_android" : "3b060f3a0ce4bafebeba1621dcd99c31"
}
}
},
"icons": {
"android": {
"hdpi": "unpackage/res/icons/72x72.png",
"xhdpi": "unpackage/res/icons/96x96.png",
"xxhdpi": "unpackage/res/icons/144x144.png",
"xxxhdpi": "unpackage/res/icons/192x192.png"
"icons" : {
"android" : {
"hdpi" : "unpackage/res/icons/72x72.png",
"xhdpi" : "unpackage/res/icons/96x96.png",
"xxhdpi" : "unpackage/res/icons/144x144.png",
"xxxhdpi" : "unpackage/res/icons/192x192.png"
},
"ios": {
"appstore": "unpackage/res/icons/1024x1024.png",
"ipad": {
"app": "unpackage/res/icons/76x76.png",
"app@2x": "unpackage/res/icons/152x152.png",
"notification": "unpackage/res/icons/20x20.png",
"notification@2x": "unpackage/res/icons/40x40.png",
"proapp@2x": "unpackage/res/icons/167x167.png",
"settings": "unpackage/res/icons/29x29.png",
"settings@2x": "unpackage/res/icons/58x58.png",
"spotlight": "unpackage/res/icons/40x40.png",
"spotlight@2x": "unpackage/res/icons/80x80.png"
"ios" : {
"appstore" : "unpackage/res/icons/1024x1024.png",
"ipad" : {
"app" : "unpackage/res/icons/76x76.png",
"app@2x" : "unpackage/res/icons/152x152.png",
"notification" : "unpackage/res/icons/20x20.png",
"notification@2x" : "unpackage/res/icons/40x40.png",
"proapp@2x" : "unpackage/res/icons/167x167.png",
"settings" : "unpackage/res/icons/29x29.png",
"settings@2x" : "unpackage/res/icons/58x58.png",
"spotlight" : "unpackage/res/icons/40x40.png",
"spotlight@2x" : "unpackage/res/icons/80x80.png"
},
"iphone": {
"app@2x": "unpackage/res/icons/120x120.png",
"app@3x": "unpackage/res/icons/180x180.png",
"notification@2x": "unpackage/res/icons/40x40.png",
"notification@3x": "unpackage/res/icons/60x60.png",
"settings@2x": "unpackage/res/icons/58x58.png",
"settings@3x": "unpackage/res/icons/87x87.png",
"spotlight@2x": "unpackage/res/icons/80x80.png",
"spotlight@3x": "unpackage/res/icons/120x120.png"
"iphone" : {
"app@2x" : "unpackage/res/icons/120x120.png",
"app@3x" : "unpackage/res/icons/180x180.png",
"notification@2x" : "unpackage/res/icons/40x40.png",
"notification@3x" : "unpackage/res/icons/60x60.png",
"settings@2x" : "unpackage/res/icons/58x58.png",
"settings@3x" : "unpackage/res/icons/87x87.png",
"spotlight@2x" : "unpackage/res/icons/80x80.png",
"spotlight@3x" : "unpackage/res/icons/120x120.png"
}
}
},
"splashscreen": {
"android": {
"hdpi": "C:/Users/86173/Desktop/6d9e3eaea01d7138ad9cffaf4739cf0.png",
"xhdpi": "C:/Users/86173/Desktop/6d9e3eaea01d7138ad9cffaf4739cf0.png",
"xxhdpi": "C:/Users/86173/Desktop/6d9e3eaea01d7138ad9cffaf4739cf0.png"
"splashscreen" : {
"android" : {
"hdpi" : "C:/Users/86173/Desktop/6d9e3eaea01d7138ad9cffaf4739cf0.png",
"xhdpi" : "C:/Users/86173/Desktop/6d9e3eaea01d7138ad9cffaf4739cf0.png",
"xxhdpi" : "C:/Users/86173/Desktop/6d9e3eaea01d7138ad9cffaf4739cf0.png"
},
"iosStyle": "common",
"ios": {
"storyboard": "D:/work/JXJ2/unpackage/CustomStoryboard.zip",
"iphone": {
"portrait-896h@3x": "C:/Users/86173/Desktop/6d9e3eaea01d7138ad9cffaf4739cf0.png"
"iosStyle" : "common",
"ios" : {
"storyboard" : "D:/work/JXJ2/unpackage/CustomStoryboard.zip",
"iphone" : {
"portrait-896h@3x" : "C:/Users/86173/Desktop/6d9e3eaea01d7138ad9cffaf4739cf0.png"
}
},
"useOriginalMsgbox": true,
"androidStyle": "common"
"useOriginalMsgbox" : true,
"androidStyle" : "common"
}
},
"nativePlugins": {}
"nativePlugins" : {}
},
/* */
"quickapp": {},
"quickapp" : {},
/* */
"mp-weixin": {
"appid": "wx130c0959e6234df0",
"setting": {
"urlCheck": false,
"es6": true,
"postcss": true,
"minified": true
"mp-weixin" : {
"appid" : "wx130c0959e6234df0",
"setting" : {
"urlCheck" : false,
"es6" : true,
"postcss" : true,
"minified" : true
},
"usingComponents": true,
"permission": {
"scope.record": {
"desc": "您的位置信息将用于您在使用智慧安全期间进行语音对讲、语音记录、语音识别等功能"
"usingComponents" : true,
"permission" : {
"scope.record" : {
"desc" : "您的位置信息将用于您在使用智慧安全期间进行语音对讲、语音记录、语音识别等功能"
}
},
"requiredPrivateInfos": ["getRecorderManager"]
"requiredPrivateInfos" : [ "getRecorderManager" ]
},
"mp-alipay": {
"usingComponents": true,
"permission": {
"scope.record": {
"desc": "您的位置信息将用于您在使用智慧安全期间进行语音对讲、语音记录、语音识别等功能"
"mp-alipay" : {
"usingComponents" : true,
"permission" : {
"scope.record" : {
"desc" : "您的位置信息将用于您在使用智慧安全期间进行语音对讲、语音记录、语音识别等功能"
}
}
},
"mp-baidu": {
"usingComponents": true,
"permission": {
"scope.record": {
"desc": "您的位置信息将用于您在使用智慧安全期间进行语音对讲、语音记录、语音识别等功能"
"mp-baidu" : {
"usingComponents" : true,
"permission" : {
"scope.record" : {
"desc" : "您的位置信息将用于您在使用智慧安全期间进行语音对讲、语音记录、语音识别等功能"
}
}
},
"mp-toutiao": {
"usingComponents": true,
"permission": {
"scope.record": {
"desc": "您的位置信息将用于您在使用智慧安全期间进行语音对讲、语音记录、语音识别等功能"
"mp-toutiao" : {
"usingComponents" : true,
"permission" : {
"scope.record" : {
"desc" : "您的位置信息将用于您在使用智慧安全期间进行语音对讲、语音记录、语音识别等功能"
}
}
},
"uniStatistics": {
"enable": false
"uniStatistics" : {
"enable" : false
},
"h5": {
"permissions": {
"scope.record": {
"desc": "您的位置信息将用于您在使用智慧安全期间进行语音对讲、语音记录、语音识别等功能"
"h5" : {
"permissions" : {
"scope.record" : {
"desc" : "您的位置信息将用于您在使用智慧安全期间进行语音对讲、语音记录、语音识别等功能"
}
},
"devServer": {
"port": 8088,
"disableHostCheck": true,
"proxy": {
"/": {
"target": "http://192.168.0.129",
"changeOrigin": true,
"secure": false,
"pathRewrite": {
"^/": ""
"devServer" : {
"port" : 8088,
"disableHostCheck" : true,
"proxy" : {
"/" : {
"target" : "http://192.168.0.129",
"changeOrigin" : true,
"secure" : false,
"pathRewrite" : {
"^/" : ""
}
}
}
},
"sdkConfigs": {
"maps": {
"amap": {
"key": "",
"securityJsCode": "",
"serviceHost": ""
"sdkConfigs" : {
"maps" : {
"amap" : {
"key" : "",
"securityJsCode" : "",
"serviceHost" : ""
}
}
},
"router": {
"mode": "hash",
"base": "/app/"
"router" : {
"mode" : "hash",
"base" : "/app/"
},
"optimization": {
"treeShaking": {
"enable": false
"optimization" : {
"treeShaking" : {
"enable" : false
}
},
"title": "智慧工地云",
"template": ""
"title" : "智慧工地云",
"template" : ""
},
"vueVersion": "2"
}
"vueVersion" : "2"
}