修改错误记录

This commit is contained in:
2026-01-07 19:25:11 +08:00
parent 7b428dc9ab
commit 92cf24a9dd

View File

@@ -24,7 +24,7 @@ class BlindBoxTurntableGiftDrawWorldNew extends Model
// 连接到Redis服务器
$this->redis->connect(config('redis.host'), config('redis.port')); // 根据实际配置调整主机和端口
// 选择数据库1
$this->redis->select(1);
$this->redis->select(10);
$this->cache_time = 60*60; //缓存一小时
} catch (\Exception $e) {
Log::record('Redis连接失败: ' . $e->getMessage(), 'error');