yangan
2025-02-13 fc4c8b7e4f9d926a43903389afb21d5a09208f8e
manifest.json
@@ -1,6 +1,6 @@
{
    "name" : "unattended-app",
    "appid" : "__UNI__103882A",
    "appid" : "__UNI__4D08E03",
    "description" : "",
    "versionName" : "1.0.0",
    "versionCode" : "100",
@@ -50,14 +50,30 @@
    "quickapp" : {},
    /* 小程序特有相关 */
    "mp-weixin" : {
        "appid" : "wx30f254cbb0b90b3c",
        "appid" : "wxa48d51c9d0e23458",
        "permission" : {
            "scope.userFuzzyLocation" : {
                "desc" : "你的位置信息将用于小程序定位"
            },
            "scope.userLocation" : {
                "desc" : "你的位置信息将用于小程序定位"
            },
            "scope.makePhoneCall" : {
                "desc" : "你的电话将用于拨打客服电话"
            }
        },
        "optimization" : {
            "subPackages" : true
        },
        "requiredPrivateInfos" : [ "getFuzzyLocation" ],
        "setting" : {
            "urlCheck" : false,
            "es6" : true,
            "minified" : true,
            "postcss" : false
        },
        "usingComponents" : true
        "usingComponents" : true,
        "libVersion" : "latest"
    },
    "mp-alipay" : {
        "usingComponents" : true
@@ -71,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" : "./"
    }
}