mirror of
https://gitee.com/koogua/course-tencent-cloud.git
synced 2025-07-26 01:41:43 +08:00
修正TeacherLiveNotice
This commit is contained in:
parent
0f5ed61158
commit
759253cfc5
@ -30,7 +30,7 @@ class TeacherLiveNoticeTask extends Task
|
|||||||
$keyName = $this->getCacheKeyName();
|
$keyName = $this->getCacheKeyName();
|
||||||
|
|
||||||
foreach ($lives as $live) {
|
foreach ($lives as $live) {
|
||||||
$redis->sAdd($keyName, $live->chapter_id);
|
$redis->sAdd($keyName, $live->id);
|
||||||
}
|
}
|
||||||
|
|
||||||
$redis->expire($keyName, 86400);
|
$redis->expire($keyName, 86400);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user