operatingmanager commit
parent
4c8d556b31
commit
c9c3cb2fa4
|
@ -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] = {}
|
||||
|
|
Loading…
Reference in New Issue