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 | 160 | local resetMode = role:updateTimeReset(now) |
161 | 161 | if not resetMode or not resetMode["CrossDay"] then -- 没有跨天 |
162 | 162 | role.activity:checkActivityStatus(now, false, false) |
163 | + role:log("onLogin") | |
163 | 164 | end |
164 | 165 | |
165 | 166 | redisproxy:zadd(FRIEND_RECOMMEND, now, roleId) |
... | ... | @@ -291,7 +292,6 @@ function _M.loginRpc( agent, data ) |
291 | 292 | role:savePvpHTeam() |
292 | 293 | |
293 | 294 | local hangPass = role:getProperty("hangPass") |
294 | - role:log("onLogin") | |
295 | 295 | role:mylog("login", {key1 = agent.ip:toArray(false, ":")[1], int1 = hangPass[1] or 0}) |
296 | 296 | if msg.newdevice then |
297 | 297 | role:mylog("newdevice", {key1 = agent.ip:toArray(false, ":")[1]}) | ... | ... |
src/models/RoleTimeReset.lua
-
mentioned in commit 52f8c5f05d0a531232a7dd7887becd2a77986aa1
-
mentioned in commit ba6d85edc65900830c7e168102d70671881b5808