1
This commit is contained in:
parent
83448657bd
commit
49641c12b2
2
third_party/phpcommon
vendored
2
third_party/phpcommon
vendored
@ -1 +1 @@
|
|||||||
Subproject commit cd255795e3b8be6ca99faaa8eff0ce49a4de871d
|
Subproject commit 11fd016051f98589781dc1f0c2375ffd0c1a8814
|
@ -134,7 +134,7 @@ class BaseAuthedController extends BaseController {
|
|||||||
//第一次登录或者跨天更新最后活跃时间
|
//第一次登录或者跨天更新最后活跃时间
|
||||||
if (empty($lastActiveTime) ||
|
if (empty($lastActiveTime) ||
|
||||||
$lastActiveTime < $this->_getNowDaySeconds()) {
|
$lastActiveTime < $this->_getNowDaySeconds()) {
|
||||||
$r->setNxPx(LAST_ACTIVE_TIME . $this->_getAccountId(), $this->_getNowTime(), 1000 * 3600 * 24);
|
$r->setPx(LAST_ACTIVE_TIME . $this->_getAccountId(), $this->_getNowTime(), 1000 * 3600 * 24);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1088,7 +1088,7 @@ class BattleController extends BaseAuthedController {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$r->setNxPx(DEC_BATTLE_TICKET . $roomUuid, 1, 1000 * 3600);
|
$r->setPx(DEC_BATTLE_TICKET . $roomUuid, 1, 1000 * 3600);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user