From 3cbd9dc493e8663d9ec1a2816e664f7c9289b8a3 Mon Sep 17 00:00:00 2001
From: zhaojs <349234519@qq.com>
Date: 星期四, 21 九月 2023 14:05:16 +0800
Subject: [PATCH] no message

---
 h5/apph5/manifest.json |   40 +++++++++++++++++++++++++++++++++++++---
 1 files changed, 37 insertions(+), 3 deletions(-)

diff --git a/h5/apph5/manifest.json b/h5/apph5/manifest.json
index 7873e4e..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" : ""
+                    }
+                }
+            }
         }
     },
     /* 蹇簲鐢ㄧ壒鏈夌浉鍏� */
@@ -72,6 +82,30 @@
     "h5" : {
         "router" : {
             "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", //娴嬭瘯鐜
+                    "changeOrigin" : true, //鏄惁璺ㄥ煙
+                    "secure" : true // 鏄惁鏀寔 https 鍗忚鐨勪唬鐞�
+                }
+            }
         }
     }
 }

--
Gitblit v1.9.3