Commit 2f7891b47950a8d4e3b8759346fd6b22d0873fc6
1 parent
10ea6c0f
运营需要
Showing
2 changed files
with
2 additions
and
1 deletions
Show diff stats
src/actions/RoleAction.lua
@@ -160,6 +160,7 @@ function _M.loginRpc( agent, data ) | @@ -160,6 +160,7 @@ function _M.loginRpc( agent, data ) | ||
160 | local resetMode = role:updateTimeReset(now) | 160 | local resetMode = role:updateTimeReset(now) |
161 | if not resetMode or not resetMode["CrossDay"] then -- 没有跨天 | 161 | if not resetMode or not resetMode["CrossDay"] then -- 没有跨天 |
162 | role.activity:checkActivityStatus(now, false, false) | 162 | role.activity:checkActivityStatus(now, false, false) |
163 | + role:log("onLogin") | ||
163 | end | 164 | end |
164 | 165 | ||
165 | redisproxy:zadd(FRIEND_RECOMMEND, now, roleId) | 166 | redisproxy:zadd(FRIEND_RECOMMEND, now, roleId) |
@@ -291,7 +292,6 @@ function _M.loginRpc( agent, data ) | @@ -291,7 +292,6 @@ function _M.loginRpc( agent, data ) | ||
291 | role:savePvpHTeam() | 292 | role:savePvpHTeam() |
292 | 293 | ||
293 | local hangPass = role:getProperty("hangPass") | 294 | local hangPass = role:getProperty("hangPass") |
294 | - role:log("onLogin") | ||
295 | role:mylog("login", {key1 = agent.ip:toArray(false, ":")[1], int1 = hangPass[1] or 0}) | 295 | role:mylog("login", {key1 = agent.ip:toArray(false, ":")[1], int1 = hangPass[1] or 0}) |
296 | if msg.newdevice then | 296 | if msg.newdevice then |
297 | role:mylog("newdevice", {key1 = agent.ip:toArray(false, ":")[1]}) | 297 | role:mylog("newdevice", {key1 = agent.ip:toArray(false, ":")[1]}) |
src/models/RoleTimeReset.lua
@@ -20,6 +20,7 @@ ResetFunc["CrossDay"] = function(self, notify, response, now) | @@ -20,6 +20,7 @@ ResetFunc["CrossDay"] = function(self, notify, response, now) | ||
20 | 20 | ||
21 | response.dTask = {} | 21 | response.dTask = {} |
22 | response.advSup = self:getProperty("advSup") | 22 | response.advSup = self:getProperty("advSup") |
23 | + self:log("onLogin") | ||
23 | end | 24 | end |
24 | 25 | ||
25 | ResetFunc["CrossWeek"] = function(self, notify, response) | 26 | ResetFunc["CrossWeek"] = function(self, notify, response) |
-
mentioned in commit 52f8c5f05d0a531232a7dd7887becd2a77986aa1
-
mentioned in commit ba6d85edc65900830c7e168102d70671881b5808