diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c35491..7793fd3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,11 +18,13 @@ - 更新设备参数 - 优化一波代码 -- 支持到php8.16 +- 支持到PHP 8.16 +- 检查更新周期24小时 ### Fixed - 修复检查更新 +- 修复風機委員 - ### Remarks diff --git a/data/capsule_infos.json b/data/capsule_infos.json index a7ab3e9..beeb9fa 100644 --- a/data/capsule_infos.json +++ b/data/capsule_infos.json @@ -6,9 +6,9 @@ "data": [ { "_url": "注释: 活动地址", - "url": "https://www.bilibili.com/blackboard/activity-aEe0qbEc8N.html", + "url": "https://www.bilibili.com/blackboard/activity-99RGHMV3Y2.html", "_title": "注释: 活动标题", - "title": "原神2.2应援激励计划", + "title": "原神2.6SP UP主激励计划", "_description": "注释: 活动描述", "description": "每日在原神分区任意直播间观看,20分钟1张、1小时2张、2小时3张,每日最高6张。", "_room_id": "注释: 活动直播间,如果为0,则取分区随机一个", diff --git a/src/plugin/CheckUpdate.php b/src/plugin/CheckUpdate.php index 7c45ddc..d56e063 100644 --- a/src/plugin/CheckUpdate.php +++ b/src/plugin/CheckUpdate.php @@ -32,7 +32,7 @@ class CheckUpdate return; } self::check(); - self::setLock(8 * 60 * 60); + self::setLock(24 * 60 * 60); } /** diff --git a/src/plugin/ZoneTcpClient.php b/src/plugin/ZoneTcpClient.php index a1207af..2a6a32c 100644 --- a/src/plugin/ZoneTcpClient.php +++ b/src/plugin/ZoneTcpClient.php @@ -32,7 +32,7 @@ class ZoneTcpClient private static int|string $area_id; private static int|string $room_id; - private static ?Socket $client; + private static ?Socket $client = null; private static array $client_maps = []; private static array $trigger_restart = []; private static int $socket_timeout = 0;