manifest.json 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. {
  2. "name" : "气瓶安全追溯",
  3. "appid" : "__UNI__DC41968",
  4. "description" : "",
  5. "versionName" : "1.0.0",
  6. "versionCode" : "100",
  7. "transformPx" : false,
  8. /* 5+App特有相关 */
  9. "app-plus" : {
  10. "usingComponents" : true,
  11. "nvueStyleCompiler" : "uni-app",
  12. "compilerVersion" : 3,
  13. "splashscreen" : {
  14. "alwaysShowBeforeRender" : true,
  15. "waiting" : true,
  16. "autoclose" : true,
  17. "delay" : 0
  18. },
  19. /* 模块配置 */
  20. "modules" : {
  21. "Geolocation" : {},
  22. "Barcode" : {},
  23. "Camera" : {},
  24. "Contacts" : {}
  25. },
  26. /* 应用发布信息 */
  27. "distribute" : {
  28. /* android打包配置 */
  29. "android" : {
  30. "permissions" : [
  31. "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
  32. "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
  33. "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
  34. "<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
  35. "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
  36. "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
  37. "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
  38. "<uses-permission android:name=\"android.permission.CAMERA\"/>",
  39. "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
  40. "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
  41. "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
  42. "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
  43. "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
  44. "<uses-feature android:name=\"android.hardware.camera\"/>",
  45. "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
  46. ]
  47. },
  48. /* ios打包配置 */
  49. "ios" : {
  50. "dSYMs" : false
  51. },
  52. /* SDK配置 */
  53. "sdkConfigs" : {
  54. "push" : {},
  55. "maps" : {},
  56. "ad" : {},
  57. "geolocation" : {
  58. "amap" : {
  59. "name" : "amapzQIiQLSo",
  60. "__platform__" : [ "ios", "android" ],
  61. "appkey_ios" : "1",
  62. "appkey_android" : "7028f3aea610975785759385ccfb0a1f"
  63. }
  64. }
  65. }
  66. }
  67. },
  68. /* 快应用特有相关 */
  69. "quickapp" : {},
  70. /* 小程序特有相关 */
  71. "mp-weixin" : {
  72. "appid" : "",
  73. "setting" : {
  74. "urlCheck" : false
  75. },
  76. "usingComponents" : true
  77. },
  78. "mp-alipay" : {
  79. "usingComponents" : true
  80. },
  81. "mp-baidu" : {
  82. "usingComponents" : true
  83. },
  84. "mp-toutiao" : {
  85. "usingComponents" : true
  86. },
  87. "uniStatistics" : {
  88. "enable" : false
  89. },
  90. "vueVersion" : "2",
  91. "h5" : {
  92. "sdkConfigs" : {
  93. "maps" : {
  94. "amap" : {
  95. "key" : "7c0390cf6ae1cd6afeef85becf6fa515",
  96. "securityJsCode" : "fb3133f64cddac06df9888ec1a4b3ad5",
  97. "serviceHost" : ""
  98. }
  99. }
  100. },
  101. "title" : "气瓶安全追溯",
  102. "router" : {
  103. "base" : "./"
  104. },
  105. "devServer" : {
  106. "port" : 8081,
  107. "https" : false,
  108. "disableHostCheck" : true,
  109. "proxy" : {
  110. "/api" : {
  111. //api是需要转发的请求(所有带有 /api 前缀的请求都会转发给 target 后的地址 (代理2)
  112. "target" : "https://gascylinder.baozhida.cn/gas_cylinder", // 你的目标接口域名
  113. "changeOrigin" : true, // 开启代理
  114. "secure" : true, //
  115. "pathRewrite" : {
  116. //去除请求前缀,保证交给后台服务器的是正常请求地址(必须配置)
  117. "^/api" : ""
  118. }
  119. }
  120. }
  121. }
  122. }
  123. }