guodong 2 years ago
parent
commit
a1c5496655
1 changed files with 2 additions and 6 deletions
  1. 2 6
      GameClient/Assets/Game/HotUpdate/ServerProxy/ShopSProxy.cs

+ 2 - 6
GameClient/Assets/Game/HotUpdate/ServerProxy/ShopSProxy.cs

@@ -35,12 +35,8 @@ namespace GFGGame
                     ItemCfg itemCfg = ItemCfgArray.Instance.GetCfg(shopCfg.itemId);
                     ItemCfg itemCfg = ItemCfgArray.Instance.GetCfg(shopCfg.itemId);
                     if (shopCfg.costType == CostType.RMB)
                     if (shopCfg.costType == CostType.RMB)
                     {
                     {
-                        if(LauncherConfig.ChannelId != ChannelID.Test)
-                        {
-                            QDManager.Pay(response.BuyId, response.Times, response.OrderId);
-                            return true;
-                        }
-                        PromptController.Instance.ShowFloatTextPrompt("虚拟充值成功");
+                        QDManager.Pay(response.BuyId, response.Times, response.OrderId);
+                        return true;
                     }
                     }
 
 
                     List<ItemData> itemDatas = ItemUtil.CreateItemDataList(itemCfg.id, response.Times * shopCfg.itemNum);
                     List<ItemData> itemDatas = ItemUtil.CreateItemDataList(itemCfg.id, response.Times * shopCfg.itemNum);