This commit is contained in:
2021-03-19 18:40:46 +08:00
parent c925fead2d
commit 4906b704e5
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ class Crontab extends Component
$crontab = ['isLoop' => $isLoop, 'handler' => $handler, 'tick' => $tickTime, 'params' => $params];
$redis->zAdd('system:crontab', $executeTime, serialize($crontab));
$redis->zAdd('system:crontab', (string)$executeTime, serialize($crontab));
}
}