hanjing před 6 roky
rodič
revize
2b227c2cf6

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

@@ -319,22 +319,22 @@ public class FgtWebX5 extends BaseFgtWebX5 {
         });
         mWebView.setWebViewClient(new WebViewClient() {
 
-//            @Override
-//            public WebResourceResponse shouldInterceptRequest(WebView webView, String inUrl) {
-//                if (finallyUrl.equalsIgnoreCase(inUrl)) {
-//                    return null;
-//                }
-//                return WebResourceResponseAdapter.adapter(WebViewCacheInterceptorInst.getInstance().interceptRequest(inUrl));
-//            }
-//
-//            @Override
-//            public WebResourceResponse shouldInterceptRequest(WebView webView, WebResourceRequest webResourceRequest) {
-//                String fileUrl = webResourceRequest.getUrl().toString();
-//                if (finallyUrl.equalsIgnoreCase(fileUrl)) {
-//                    return null;
-//                }
-//                return WebResourceResponseAdapter.adapter(WebViewCacheInterceptorInst.getInstance().interceptRequest(WebResourceRequestAdapter.adapter(webResourceRequest)));
-//            }
+            @Override
+            public WebResourceResponse shouldInterceptRequest(WebView webView, String inUrl) {
+                if (finallyUrl.equalsIgnoreCase(inUrl)) {
+                    return null;
+                }
+                return WebResourceResponseAdapter.adapter(WebViewCacheInterceptorInst.getInstance().interceptRequest(inUrl));
+            }
+
+            @Override
+            public WebResourceResponse shouldInterceptRequest(WebView webView, WebResourceRequest webResourceRequest) {
+                String fileUrl = webResourceRequest.getUrl().toString();
+                if (finallyUrl.equalsIgnoreCase(fileUrl)) {
+                    return null;
+                }
+                return WebResourceResponseAdapter.adapter(WebViewCacheInterceptorInst.getInstance().interceptRequest(WebResourceRequestAdapter.adapter(webResourceRequest)));
+            }
 
             @Override
             public boolean shouldOverrideUrlLoading(WebView view, String url) {

+ 1 - 1
app/src/main/java/com/sheep/gamegroup/util/Jump2View.java

@@ -397,7 +397,7 @@ public class Jump2View {
      * @param object
      */
     public void goHomePageView(final Activity context, Object object) {
-        final Intent intent = new Intent(context, ActTest.class).setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);
+        final Intent intent = new Intent(context, ActMain.class).setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);
         if (object instanceof String) {
             //统计用户登录信息
             UMConfigUtils.onProfileSignIn();

+ 2 - 2
app/src/main/java/com/sheep/jiuyan/samllsheep/Config.java

@@ -56,7 +56,7 @@ public class Config {
     //龙猫竞猜分享地址 key
     public static final String KEY_LMJC_URL = "lmjc_url";
     //充值VIP地址的 key
-    public static final String PATH_BUY_VIP = STATION_TURNTABLE + "/vip-desc";
+    public static final String PATH_BUY_VIP = STATION_TURNTABLE + "/vip-desc2";
     //用户收货地址
     public static final String PATH_RECEIVING_ADDRESS = STATION_TURNTABLE + "receiving-address";
     //定向优惠列表
@@ -94,7 +94,7 @@ public class Config {
     //赏金任务列表
     public static final String PATH_WELFARE_MONEY_REWARD_LIST = STATION_WELFARE + "/money-reward-list";
     //邀请赚钱主页
-    public static final String PATH_SMALL_SHEEP_INVITATION_HOME = STATION_SMALL_SHEEP_INVITATION + "/home-page";
+    public static final String PATH_SMALL_SHEEP_INVITATION_HOME = STATION_SMALL_SHEEP_INVITATION + "/home-page3";
     public static final String PATH_SMALL_SHEEP_CLOCK_CHALLENGE = STATION_CLOCK_CHALLENGE + "/homePage";
     public static final String NAME_WELFARE_MONEY_REWARD_LIST = "赏金任务";
     public static final String STATION_SMALL_SHEEP_H5GAME = "/small_sheep_h5game_plugin";

+ 2 - 2
gradle.properties

@@ -17,8 +17,8 @@
 # org.gradle.parallel=true
 #android.injected.build.model.only.versioned = 3
 
-VERSION_NAME=3.6.2
-VERSION_CODE=3006002
+VERSION_NAME=3.6.3
+VERSION_CODE=3006003
 ANDROID_COMPILE_SDK_VERSION=28
 ANDROID_MIN_SDK_VERSION=17
 ANDORID_TARGET_SDK_VERSION=28