yangan
2024-11-21 89484ac1b090d4881038ac3258ac50aeef716752
manifest.json
@@ -50,28 +50,30 @@
   "quickapp": {},
   /* 小程序特有相关 */
   "mp-weixin": {
      "appid": "wx4a62fc1684c429a9",
      "appid": "wxa48d51c9d0e23458",
      "permission": {
         "scope.userFuzzyLocation": {
            "desc": "你的位置信息将用于小程序定位"
         },
         "scope.userLocation": {
            "desc": "你的位置信息将用于小程序定位"
         },
         "scope.makePhoneCall": {
            "desc": "你的电话将用于拨打客服电话"
         }
      },
      "optimization": {
         "subPackages": true
      },
      "requiredPrivateInfos": [
         "getFuzzyLocation"
      ],
      "requiredPrivateInfos": ["getFuzzyLocation"],
      "setting": {
         "urlCheck": false,
         "es6": true,
         "minified": true,
         "postcss": false
      },
      "usingComponents": true
      "usingComponents": true,
      "libVersion":"latest"
   },
   "mp-alipay": {
      "usingComponents": true
@@ -85,5 +87,50 @@
   "uniStatistics": {
      "enable": false
   },
   "vueVersion": "2"
}
   "vueVersion": "2",
    "h5" : {
        "router" : {
            "base" : "./",
            "mode" : "hash"
        },
        "devServer" : {
            "port" : 8080,
            "disableHostCheck" : true,
            "proxy" : {
                "/admin" : {
                    "target" : "http://192.168.0.23:9999/",
                    "changeOrigin" : true,
                    "secure" : true,
                    "ws" : false, // 需要websocket 开启
                    "pathRewrite" : {
                        "^/" : "/"
                    }
                },
                "/gen" : {
                    "target" : "http://192.168.0.23:9999/",
                    "changeOrigin" : true,
                    "secure" : true,
                    "ws" : false, // 需要websocket 开启
                    "pathRewrite" : {
                        "^/" : ""
                    }
                },
                "/wrzs" : {
                    "target" : "http://192.168.0.23:9896/",
                    "changeOrigin" : true,
                    "secure" : true,
                    "ws" : true, // 需要websocket 开启
                    "pathRewrite" : {
                        "^/wrzs" : "/wrzs"
                    }
                }
            }
        },
        "optimization" : {
            "treeShaking" : {
                "enable" : true
            }
        },
        "publicPath" : "./"
    }
}