Browse Source

add support mqqapi://

hanjing 6 years ago
parent
commit
759eb047e1

+ 1 - 1
app/src/main/java/com/sheep/gamegroup/module/webview/fragment/FgtWeb.java

@@ -360,7 +360,7 @@ public class FgtWeb extends BaseFgtWeb {
                 } else if (url.startsWith(Config.SHEEP)) {
                     MiddleSchemeAct.parseAndJumpUri(SheepApp.getInstance().getCurrentActivity(), Uri.parse(url));
                     return true;
-                } else if (url.startsWith("weixin://wap/pay?")) {
+                } else if (url.startsWith("weixin://wap/pay?") || url.startsWith("mqqapi://")) {
                     try {
                         Intent intent = new Intent();
                         intent.setAction(Intent.ACTION_VIEW);

+ 1 - 1
app/src/main/java/com/sheep/gamegroup/module/webview/fragment/FgtWebX5.java

@@ -353,7 +353,7 @@ public class FgtWebX5 extends BaseFgtWebX5 {
                 } else if (url.startsWith(Config.SHEEP)) {
                     MiddleSchemeAct.parseAndJumpUri(SheepApp.getInstance().getCurrentActivity(), Uri.parse(url));
                     return true;
-                } else if (url.startsWith("weixin://wap/pay?")) {
+                } else if (url.startsWith("weixin://wap/pay?") || url.startsWith("mqqapi://")) {
                     try {
                         Intent intent = new Intent();
                         intent.setAction(Intent.ACTION_VIEW);