From a81bd0812b3c108800a7db877d3e623218113bc5 Mon Sep 17 00:00:00 2001 From: wk Date: 星期三, 17 七月 2024 17:34:02 +0800 Subject: [PATCH] feat:门卫 --- manifest.json | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 57 insertions(+), 2 deletions(-) diff --git a/manifest.json b/manifest.json index 08c67fe..3b002eb 100644 --- a/manifest.json +++ b/manifest.json @@ -50,7 +50,22 @@ "quickapp" : {}, /* 灏忕▼搴忕壒鏈夌浉鍏� */ "mp-weixin" : { - "appid" : "wx30f254cbb0b90b3c", + "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, // 闇�瑕亀ebsocket 寮�鍚� + "pathRewrite" : { + "^/" : "/" + } + }, + "/gen" : { + "target" : "http://192.168.0.22:9896", + "changeOrigin" : true, + "secure" : true, + "ws" : false, // 闇�瑕亀ebsocket 寮�鍚� + "pathRewrite" : { + "^/" : "" + } + }, + "/wrzs" : { + "target" : "http://192.168.0.22:9896", + "changeOrigin" : true, + "secure" : true, + "ws" : true, // 闇�瑕亀ebsocket 寮�鍚� + "pathRewrite" : { + "^/wrzs" : "/wrzs" + } + } + } + }, + "publicPath" : "/" + } } -- Gitblit v1.9.1