Sfoglia il codice sorgente

更新 'app/src/main/java/com/sheep/gamegroup/view/activity/ActWebX5.java'

hanjing 7 anni fa
parent
commit
19cbf0cf0b

+ 1 - 1
app/src/main/java/com/sheep/gamegroup/view/activity/ActWebX5.java

@@ -340,7 +340,7 @@ public class ActWebX5 extends BaseActWeb {
                                 }).setNegativeButton("取消", null).show();
                     }
                     return true;
-                } else if (url.contains("17xmy.com")) {
+                } else if (url.startsWith("https://wx.tenpay.com")) {
                     Map<String, String> extraHeaders = new HashMap<>();
                     extraHeaders.put("Referer", "http://17xmy.com");
                     webViewLoadUrl(view, extraHeaders, url);