diff --git a/Assets/ManagedResources/~Lua/Modules/Operating/OperatingManager.lua b/Assets/ManagedResources/~Lua/Modules/Operating/OperatingManager.lua index b971baf90c..7f649cf2e3 100644 --- a/Assets/ManagedResources/~Lua/Modules/Operating/OperatingManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Operating/OperatingManager.lua @@ -8,14 +8,15 @@ OperatingManager = {} local this = OperatingManager - +--后端数据 以RechargeCommodityConfig表Type为键 local giftGoodsInfoList = {} --- 新的数据列表,按照ID存取 local newGoodsList = {} local hadBuyGoodsList = {} local rechargeConfig = ConfigManager.GetConfig(ConfigName.RechargeCommodityConfig) local luxuryConfig = ConfigManager.GetConfig(ConfigName.LuxuryFundConfig) -local giftGoodsInfo +--后端数据 goodsId;//商品id buyTimes; //购买次数 startTime;//开始时间 endTime; //结束时间 dynamicBuyTimes; //可购买次数 +local giftGoodsInfo --初始化 function this.Initialize() @@ -28,7 +29,7 @@ end ---------------------------局限性---------------------------- -function this.SetBasicValues(giftGoodsList) +function this.SetBasicValues(giftGoodsList) giftGoodsInfo = giftGoodsList for _, v in pairs(GoodsTypeDef) do giftGoodsInfoList[v] = {}