billyyoyo пре 6 година
родитељ
комит
7688eb46ef

+ 1 - 5
app/src/main/java/com/sheep/gamegroup/module/game/activity/ActGameGroupOrGameDetail.java

@@ -517,11 +517,7 @@ public class ActGameGroupOrGameDetail extends BaseActivity {
 
     @OnClick(R.id.gc_game_app_discount_desc_btn)
     public void onGoDiscountDesc() {
-        CommonUtil.getInstance().getConfigValue("app_game_discount_desc_url", url -> {
-            if (TextUtils.isEmpty(url))
-                url = "http://smallstation.9yan.io/yy_shop/#/pages/index/index";
-            Jump2View.getInstance().goWeb(this, new WebParams(url, "金丹玩法"));
-        });
+        Jump2View.getInstance().goWeb(this, new WebParams(Config.getUrlByPath(Config.PATH_DISCOUNT_DESC), "金丹玩法"));
     }
 
     private AbsGetDownloadListener absGetDownloadListener = new AbsGetDownloadListener(false) {

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

@@ -99,9 +99,10 @@ public class Config {
     //随便打首页
     public static final String PATH_SBD_HOME = STATION_SUI_BIAN_DA + "/";
     //福利
-    public static final String PATH_WELFARE_HOME = STATION_WELFARE + "/home";
+    public static final String PATH_WELFARE_HOME = STATION_WELFARE + "/welfare-center";
     public static final String PATH_GAME_HOME = STATION_WELFARE + "/game-center";
     public static final String PATH_WELFARE_DETAIL = STATION_WELFARE + "/detail";
+    public static final String PATH_DISCOUNT_DESC = STATION_WELFARE + "/discount";
     //游戏商城
     public static final String PATH_GAME_SHOP_HOME = STATION_GAME_SHOP + "/gameMallHome";
     public static final String PATH_GAME_SHOP_MY_GAME = STATION_GAME_SHOP + "/myGameRole";