Refactor IP History

This commit is contained in:
xiaomlove
2025-10-14 14:54:44 +07:00
parent 0f172a94be
commit ba8715a3f9
34 changed files with 494 additions and 131 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ class Setting extends NexusModel
{
$redis = NexusDB::redis();
$key = self::USER_TOKEN_PERMISSION_ALLOWED_CACHE_KRY;
$redis->del($key);
$redis->unlink($key);
//must not use cache
if (empty($allowed)) {
$allowed = self::getFromDb("permission.user_token_allowed");