diff --git a/src/models/Activity.lua b/src/models/Activity.lua index a117f81..264957b 100644 --- a/src/models/Activity.lua +++ b/src/models/Activity.lua @@ -1117,10 +1117,11 @@ end activityFunc[Activity.ActivityType.ActShopGoods] = { ["init"] = function(self, actType, isCrossDay, notify, actId) end, - ["close"] = function(self, actType, notify) + ["close"] = function(self, actType, notify, actId) local rechargeRecord = self.owner.storeData:getProperty("payR") for id, cfg in pairs(csvdb["shop_rechargeCsv"]) do - if cfg.shop == 3 and cfg.type == ShopPackType.ActShopPack then + --if cfg.shop == 3 and cfg.type == ShopPackType.ActShopPack then + if cfg.activity_id == actId then rechargeRecord[id] = nil end end diff --git a/src/services/dbseed.lua b/src/services/dbseed.lua index 354aace..1926409 100644 --- a/src/services/dbseed.lua +++ b/src/services/dbseed.lua @@ -268,7 +268,7 @@ local function doUpdateSql() "ALTER TABLE `Rune` MODIFY COLUMN `refer` bigint;" }, [3] = { - "ALTER TABLE `Email` MODIFY COLUMN `refer` VARCHAR(2048);" + "ALTER TABLE `Email` MODIFY COLUMN `content` VARCHAR(2048);" }, } -- 更新记录表 -- libgit2 0.21.2