Commit a68982317194eead972d4bc903b723e6b6c79c5c

Authored by liuzujun
1 parent 67b46a6b

兑换活动上线检测是否需要刷新

Showing 2 changed files with 4 additions and 1 deletions   Show diff stats
1 -Subproject commit 02ba983a6b9e4b0345a8c5bebc3657976c18514a 1 +Subproject commit 34a04e7f3c37fcb088e46c2c5a05fe558cb67946
src/models/Activity.lua
@@ -482,6 +482,9 @@ activityFunc[Activity.ActivityType.Exchange] = { @@ -482,6 +482,9 @@ activityFunc[Activity.ActivityType.Exchange] = {
482 actData[actId] = {} 482 actData[actId] = {}
483 self:updateActData(actType, actData, not notify) 483 self:updateActData(actType, actData, not notify)
484 end, 484 end,
  485 + ["login"] = function(self, actType, actId)
  486 + activityFunc[Activity.ActivityType.Sign]["crossDay"](self, actType, true, actId)
  487 + end,
485 ["crossDay"] = function(self, actType, notify, actId) 488 ["crossDay"] = function(self, actType, notify, actId)
486 local actData = self:getActData(actType) or {} 489 local actData = self:getActData(actType) or {}
487 local lastTs = actData["ts"] or 0 490 local lastTs = actData["ts"] or 0