1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-07-25 01:11:44 +08:00

修正TeacherLiveNotice

This commit is contained in:
xiaochong0302 2024-07-24 14:21:53 +08:00
parent 0f5ed61158
commit 759253cfc5

View File

@ -30,7 +30,7 @@ class TeacherLiveNoticeTask extends Task
$keyName = $this->getCacheKeyName();
foreach ($lives as $live) {
$redis->sAdd($keyName, $live->chapter_id);
$redis->sAdd($keyName, $live->id);
}
$redis->expire($keyName, 86400);