mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-05-18 15:05:03 +08:00
setEnableLatelyCache() 24 hours
This commit is contained in:
@@ -268,7 +268,7 @@ class UserRepository extends BaseRepository
|
|||||||
|
|
||||||
private function setEnableLatelyCache(int $userId): void
|
private function setEnableLatelyCache(int $userId): void
|
||||||
{
|
{
|
||||||
NexusDB::cache_put(User::getUserEnableLatelyCacheKey($userId), now()->toDateTimeString());
|
NexusDB::cache_put(User::getUserEnableLatelyCacheKey($userId), now()->toDateTimeString(), 86400);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getInviteInfo($id)
|
public function getInviteInfo($id)
|
||||||
|
|||||||
Reference in New Issue
Block a user