Commit 9254aed50573846b68a7129dc1e12217c04e00b0

Authored by jiyue
2 parents b6651ec9 e9c1df55

Merge branch 'cn/develop' into cn/publish/preview

Showing 2 changed files with 4 additions and 3 deletions   Show diff stats
src/models/Activity.lua
... ... @@ -1117,10 +1117,11 @@ end
1117 1117 activityFunc[Activity.ActivityType.ActShopGoods] = {
1118 1118 ["init"] = function(self, actType, isCrossDay, notify, actId)
1119 1119 end,
1120   - ["close"] = function(self, actType, notify)
  1120 + ["close"] = function(self, actType, notify, actId)
1121 1121 local rechargeRecord = self.owner.storeData:getProperty("payR")
1122 1122 for id, cfg in pairs(csvdb["shop_rechargeCsv"]) do
1123   - if cfg.shop == 3 and cfg.type == ShopPackType.ActShopPack then
  1123 + --if cfg.shop == 3 and cfg.type == ShopPackType.ActShopPack then
  1124 + if cfg.activity_id == actId then
1124 1125 rechargeRecord[id] = nil
1125 1126 end
1126 1127 end
... ...
src/services/dbseed.lua
... ... @@ -268,7 +268,7 @@ local function doUpdateSql()
268 268 "ALTER TABLE `Rune` MODIFY COLUMN `refer` bigint;"
269 269 },
270 270 [3] = {
271   - "ALTER TABLE `Email` MODIFY COLUMN `refer` VARCHAR(2048);"
  271 + "ALTER TABLE `Email` MODIFY COLUMN `content` VARCHAR(2048);"
272 272 },
273 273 }
274 274 -- 更新记录表
... ...