manifest.json 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. {
  2. "name" : "canteenproblemFeedback",
  3. "appid" : "__UNI__5ABF99B",
  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. /* 应用发布信息 */
  22. "distribute" : {
  23. /* android打包配置 */
  24. "android" : {
  25. "permissions" : [
  26. "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
  27. "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
  28. "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
  29. "<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
  30. "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
  31. "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
  32. "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
  33. "<uses-permission android:name=\"android.permission.CAMERA\"/>",
  34. "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
  35. "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
  36. "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
  37. "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
  38. "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
  39. "<uses-feature android:name=\"android.hardware.camera\"/>",
  40. "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
  41. ]
  42. },
  43. /* ios打包配置 */
  44. "ios" : {},
  45. /* SDK配置 */
  46. "sdkConfigs" : {}
  47. }
  48. },
  49. /* 快应用特有相关 */
  50. "quickapp" : {},
  51. /* 小程序特有相关 */
  52. "mp-weixin" : {
  53. "appid" : "",
  54. "setting" : {
  55. "urlCheck" : false
  56. },
  57. "usingComponents" : true
  58. },
  59. "mp-alipay" : {
  60. "usingComponents" : true
  61. },
  62. "mp-baidu" : {
  63. "usingComponents" : true
  64. },
  65. "mp-toutiao" : {
  66. "usingComponents" : true
  67. },
  68. "uniStatistics" : {
  69. "enable" : false
  70. },
  71. "vueVersion" : "3",
  72. "h5" : {
  73. "devServer" : {
  74. "https" : false,
  75. "disableHostCheck" : true,
  76. "port" : 9002,
  77. "proxy" : {
  78. "/api" : {
  79. //api是需要转发的请求(所有带有 /api 前缀的请求都会转发给 target 后的地址 (代理2)
  80. "target" : "http://10.201.2.161:9400/centtenAdvise", // 你的目标接口域名
  81. "changeOrigin" : true, // 开启代理
  82. "secure" : false,
  83. "ws" : false,
  84. "pathRewrite" : {
  85. //去除请求前缀,保证交给后台服务器的是正常请求地址(必须配置)
  86. "^/api" : ""
  87. }
  88. }
  89. }
  90. },
  91. "router" : {
  92. "base" : "./",
  93. "mode" : "history"
  94. }
  95. },
  96. "locale" : "zh-Hans",
  97. "fallbackLocale" : "zh-Hans"
  98. }