yangan
2024-07-24 b49af6d65357ccf7b79da14f93c8c5d16e2686e2
manifest.json
@@ -1,6 +1,6 @@
{
    "name" : "unattended-app",
    "appid" : "__UNI__103882A",
    "appid" : "__UNI__4D08E03",
    "description" : "",
    "versionName" : "1.0.0",
    "versionCode" : "100",
@@ -50,7 +50,7 @@
    "quickapp" : {},
    /* 小程序特有相关 */
    "mp-weixin" : {
        "appid" : "wx9f907295f9eb495a",
        "appid" : "wx82ac339e5422b472",
        "permission" : {
            "scope.userFuzzyLocation" : {
                "desc" : "你的位置信息将用于小程序定位"
@@ -72,7 +72,8 @@
            "minified" : true,
            "postcss" : false
        },
        "usingComponents" : true
        "usingComponents" : true,
        "lazyCodeLoading": "requiredComponents"
    },
    "mp-alipay" : {
        "usingComponents" : true
@@ -88,41 +89,43 @@
    },
    "vueVersion" : "2",
    "h5" : {
        "router": {
            "base": "/html5/"
        "router" : {
            "base" : "./",
            "mode" : "hash"
        },
        "devServer": {
        "devServer" : {
            "port" : 8080,
            "disableHostCheck": true,
            "proxy": {
                "/admin": {
                    "target": "http://192.168.0.17:9999",
            "disableHostCheck" : true,
            "proxy" : {
                "/admin" : {
                    "target" : "http://192.168.0.22:9999",
                    "changeOrigin" : true,
                    "secure": true,
                    "ws": false, // 需要websocket 开启
                    "pathRewrite": {
                        "^/": "/"
                    "secure" : true,
                    "ws" : false, // 需要websocket 开启
                    "pathRewrite" : {
                        "^/" : "/"
                    }
                },
                "/gen": {
                    "target": "http://192.168.0.17:9896",
                "/gen" : {
                    "target" : "http://192.168.0.22:9896",
                    "changeOrigin" : true,
                    "secure": true,
                    "ws": false, // 需要websocket 开启
                    "pathRewrite": {
                        "^/": ""
                    "secure" : true,
                    "ws" : false, // 需要websocket 开启
                    "pathRewrite" : {
                        "^/" : ""
                    }
                },
                "/wrzs": {
                    "target": "http://192.168.0.17:9896",
                "/wrzs" : {
                    "target" : "http://192.168.0.22:9896",
                    "changeOrigin" : true,
                    "secure": true,
                    "ws": true, // 需要websocket 开启
                    "pathRewrite": {
                        "^/wrzs": "/wrzs"
                    "secure" : true,
                    "ws" : true, // 需要websocket 开启
                    "pathRewrite" : {
                        "^/wrzs" : "/wrzs"
                    }
                }
            }
        }
        },
       "publicPath" : "./"
    }
}