wk
2024-07-17 a81bd0812b3c108800a7db877d3e623218113bc5
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,45 @@
    "uniStatistics" : {
        "enable" : false
    },
    "vueVersion" : "2"
    "vueVersion" : "2",
    "h5" : {
        "router" : {
            "base" : "/",
            "mode" : "hash"
        },
        "devServer" : {
            "port" : 8080,
            "disableHostCheck" : true,
            "proxy" : {
                "/admin" : {
                    "target" : "http://192.168.0.22:9999",
                    "changeOrigin" : true,
                    "secure" : true,
                    "ws" : false, // 需要websocket 开启
                    "pathRewrite" : {
                        "^/" : "/"
                    }
                },
                "/gen" : {
                    "target" : "http://192.168.0.22:9896",
                    "changeOrigin" : true,
                    "secure" : true,
                    "ws" : false, // 需要websocket 开启
                    "pathRewrite" : {
                        "^/" : ""
                    }
                },
                "/wrzs" : {
                    "target" : "http://192.168.0.22:9896",
                    "changeOrigin" : true,
                    "secure" : true,
                    "ws" : true, // 需要websocket 开启
                    "pathRewrite" : {
                        "^/wrzs" : "/wrzs"
                    }
                }
            }
        },
       "publicPath" : "/"
    }
}