hanjing лет назад: 6
Родитель
Сommit
9dc76bb484

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

@@ -415,7 +415,9 @@ public class FgtWeb extends BaseFgtWeb {
                     extraHeaders.put("Referer", "http://17xmy.com");
                     webViewLoadUrl(view, extraHeaders, url);
                     return true;
-                } else if (url.contains("kfzs.com") || (url.startsWith("http://10.8.") && TestUtil.isDev())) {
+                } else if (url.contains("kfzs.com")
+                        || url.contains("9yan.io")
+                        || (url.startsWith("http://10.8.") && TestUtil.isDev())) {
                     Map<String, String> extraHeaders = new HashMap<>();
                     extraHeaders.put("Referer", "http://kfzs.com");
                     webViewLoadUrl(view, extraHeaders, url);

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

@@ -421,7 +421,9 @@ public class FgtWebX5 extends BaseFgtWebX5 {
                     extraHeaders.put("Referer", "http://17xmy.com");
                     webViewLoadUrl(view, extraHeaders, url);
                     return true;
-                } else if (url.contains("kfzs.com") || (url.startsWith("http://10.8.") && TestUtil.isDev())) {
+                } else if (url.contains("kfzs.com")
+                        || url.contains("9yan.io")
+                        || (url.startsWith("http://10.8.") && TestUtil.isDev())) {
                     Map<String, String> extraHeaders = new HashMap<>();
                     extraHeaders.put("Referer", "http://kfzs.com");
                     webViewLoadUrl(view, extraHeaders, url);

+ 3 - 1
app/src/main/java/com/sheep/gamegroup/util/share/ShareLinkConfig.java

@@ -162,7 +162,9 @@ public class ShareLinkConfig {
     }
 
     public void toShare(Activity activity) {
-        if (link != null && !link.startsWith("http://kfzs.com/")) {
+        if (link != null
+                && !link.startsWith("http://kfzs.com/")
+                && !link.startsWith("http://9yan.io/")) {
             SheepApp.getInstance().getNetComponent().getApiService().getShortUrl(link)
                     .subscribeOn(Schedulers.io())
                     .observeOn(AndroidSchedulers.mainThread())

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

@@ -175,7 +175,7 @@ public class MiddleSchemeAct extends Activity {
             case "po":
                 String order_no = uri.getQueryParameter("a");
                 String merchandise_id = uri.getQueryParameter("b");
-                String url = String.format(Locale.CHINA, "http://%s/#/placing-orders/%s?merchandise_id=%s", TextUtils.equals("sheep", BuildConfig.FLAVOR) ? "smallstation.kfzs.com/iqiyi_vip_member" : "10.8.220.248:8080", order_no, merchandise_id);
+                String url = String.format(Locale.CHINA, "http://%s/#/placing-orders/%s?merchandise_id=%s", TextUtils.equals("sheep", BuildConfig.FLAVOR) ? "smallstation.9yan.io/iqiyi_vip_member" : "10.8.220.248:8080", order_no, merchandise_id);
                 ViewUtil.showMsgDialog(context, new DialogConfig().setMsg("你有一个拼单邀请,是否立即前往?")
                         .setBtnLeftText("取消").setBtnRightText("前往")
                         .setBtnRightOnClickListener(view -> Jump2View.getInstance().goWeb(SheepApp.getInstance().getCurrentActivity(), new WebParams(url).setTitle("爱奇艺会员VIP"))));

+ 1 - 1
app/src/main/java/com/sheep/gamegroup/view/fragment/FgtPersonalCenter.java

@@ -513,7 +513,7 @@ public class FgtPersonalCenter extends BaseFragment {
                         if (!TextUtils.isEmpty(faqUrl))
                             Jump2View.getInstance().goWeb(activity, faqUrl, "FAQ帮助");
                         else
-                            Jump2View.getInstance().goWeb(activity, "http://smallstation.kfzs.com/h5_faq/#/faq", "FAQ帮助");
+                            Jump2View.getInstance().goWeb(activity, "http://smallstation.9yan.io/h5_faq/#/faq", "FAQ帮助");
                     }
                 });
                 USER_FAQ.onEvent();

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

@@ -96,7 +96,7 @@ public class Config {
     //small_station地址 key
     public static final String KEY_SMALL_STATION_URL = "small_station_url";
     //small_station地址
-    public static String SMALL_STATION_URL_SHEEP = "http://smallstation.kfzs.com";
+    public static String SMALL_STATION_URL_SHEEP = "http://smallstation.9yan.io";
     public static String SMALL_STATION_URL_TEST = "http://10.8.210.20:8080";
     //在数据库中表 config 中 配置 small_station_url后,可以进行设置 ,否则使用默认的值
     public static String SMALL_STATION_URL;