From b6b61b53530b2a023aa2141c38946b75d1282cf6 Mon Sep 17 00:00:00 2001 From: zhaojs <349234519@qq.com> Date: 星期二, 22 八月 2023 14:04:08 +0800 Subject: [PATCH] no message --- h5/apph5/manifest.json | 29 ++++++++++++++++++++++++++--- 1 files changed, 26 insertions(+), 3 deletions(-) diff --git a/h5/apph5/manifest.json b/h5/apph5/manifest.json index 64dd969..ad0b9fe 100644 --- a/h5/apph5/manifest.json +++ b/h5/apph5/manifest.json @@ -17,7 +17,9 @@ "delay" : 0 }, /* 妯″潡閰嶇疆 */ - "modules" : {}, + "modules" : { + "OAuth" : {} + }, /* 搴旂敤鍙戝竷淇℃伅 */ "distribute" : { /* android鎵撳寘閰嶇疆 */ @@ -38,12 +40,20 @@ "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>", "<uses-feature android:name=\"android.hardware.camera\"/>", "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>" - ] + ], + "abiFilters" : [ "armeabi-v7a", "arm64-v8a" ] }, /* ios鎵撳寘閰嶇疆 */ "ios" : {}, /* SDK閰嶇疆 */ - "sdkConfigs" : {} + "sdkConfigs" : { + "oauth" : { + "weixin" : { + "appid" : "wxc74c0ee1cf8efafd", + "UniversalLinks" : "" + } + } + } } }, /* 蹇簲鐢ㄧ壒鏈夌浉鍏� */ @@ -74,8 +84,21 @@ "mode" : "history" }, "devServer" : { + "public" : "0.0.0.0", "proxy" : { //閰嶇疆浠g悊鏈嶅姟鍣ㄦ潵瑙e喅璺ㄥ煙闂锛寀niapp涓嶉�傜敤CORS鏂规鍜岃缃甁SONP鏂规 + "/wxback/" : { + //鏄犲皠鍩熷悕 + "target" : "http://wxkf.ushopvip.com", //娴嬭瘯鐜 + "changeOrigin" : true, //鏄惁璺ㄥ煙 + "secure" : false // 鏄惁鏀寔 https 鍗忚鐨勪唬鐞� + }, + "/openwize/" : { + //鏄犲皠鍩熷悕 + "target" : "http://vx8.cc", //娴嬭瘯鐜 + "changeOrigin" : true, //鏄惁璺ㄥ煙 + "secure" : true // 鏄惁鏀寔 https 鍗忚鐨勪唬鐞� + }, "/api/" : { //鏄犲皠鍩熷悕 "target" : "http://dfg.shop.com", //娴嬭瘯鐜 -- Gitblit v1.9.3