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:
parent
0f5ed61158
commit
759253cfc5
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user