This commit is contained in:
aozhiwei 2023-08-03 17:53:58 +08:00
parent 54421391fb
commit 6e5ccde837

View File

@ -269,6 +269,7 @@ class DailySelectionController extends BaseAuthedController {
private function save()
{
$remainSec = 3600 * 24 - (myself()->_getNowTime() - myself()->_getNowDaySeconds());
$remainSec = $remainSec + rand() % (3600 * 3);
$remainSec = max(0, $remainSec);
myself()->_getSelfRedis()->set(
$this->getRedisKey(),