|
@@ -33,8 +33,13 @@ namespace GFGGame
|
|
|
ShopDataManager.Instance.UpdateGoodsData(response.BuyId, response.TotalTimes);
|
|
|
ShopCfg shopCfg = ShopCfgArray.Instance.GetCfg(response.BuyId);
|
|
|
ItemCfg itemCfg = ItemCfgArray.Instance.GetCfg(shopCfg.itemId);
|
|
|
- if (LauncherConfig.netType == LauncherConfig.EnumNetType.LOCAL && 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("虚拟充值成功");
|
|
|
}
|
|
|
|