yangan
2024-07-05 9a0876466b8d98816294f2cae5f564b2e69972ef
manifest.json
@@ -50,7 +50,22 @@
    "quickapp" : {},
    /* 小程序特有相关 */
    "mp-weixin" : {
        "appid" : "wx4a62fc1684c429a9",
        "appid" : "wx9f907295f9eb495a",
        "permission" : {
            "scope.userFuzzyLocation" : {
                "desc" : "你的位置信息将用于小程序定位"
            },
            "scope.userLocation" : {
                "desc" : "你的位置信息将用于小程序定位"
            },
            "scope.makePhoneCall" : {
                "desc" : "你的电话将用于拨打客服电话"
            }
        },
        "optimization" : {
            "subPackages" : true
        },
        "requiredPrivateInfos" : [ "getFuzzyLocation" ],
        "setting" : {
            "urlCheck" : false,
            "es6" : true,
@@ -71,5 +86,43 @@
    "uniStatistics" : {
        "enable" : false
    },
    "vueVersion" : "2"
    "vueVersion" : "2",
    "h5" : {
        "router": {
            "base": "/html5/"
        },
        "devServer": {
            "port" : 8080,
            "disableHostCheck": true,
            "proxy": {
                "/admin": {
                    "target": "http://192.168.0.17:9999",
                    "changeOrigin" : true,
                    "secure": true,
                    "ws": false, // 需要websocket 开启
                    "pathRewrite": {
                        "^/": "/"
                    }
                },
                "/gen": {
                    "target": "http://192.168.0.17:9896",
                    "changeOrigin" : true,
                    "secure": true,
                    "ws": false, // 需要websocket 开启
                    "pathRewrite": {
                        "^/": ""
                    }
                },
                "/wrzs": {
                    "target": "http://192.168.0.17:9896",
                    "changeOrigin" : true,
                    "secure": true,
                    "ws": true, // 需要websocket 开启
                    "pathRewrite": {
                        "^/wrzs": "/wrzs"
                    }
                }
            }
        }
    }
}