mirror of
https://github.com/lkeme/BiliHelper-personal.git
synced 2025-12-19 01:20:08 +08:00
[fix] invalid echo
This commit is contained in:
parent
6cdfb07575
commit
9159b5076e
@ -74,13 +74,10 @@ class Lottery extends BasePlugin
|
|||||||
*/
|
*/
|
||||||
public function execute(): void
|
public function execute(): void
|
||||||
{
|
{
|
||||||
echo "ghahahahha";
|
|
||||||
if (!getEnable('lottery')) return;
|
if (!getEnable('lottery')) return;
|
||||||
if (TimeLock::getTimes() > time() && $this->last_task_finish) return;
|
if (TimeLock::getTimes() > time() && $this->last_task_finish) return;
|
||||||
echo "ghahahahha";
|
|
||||||
|
|
||||||
$this->lotteryTask();
|
$this->lotteryTask();
|
||||||
echo "ghahahahha";
|
|
||||||
|
|
||||||
// 2-6小时 未完成6-10秒
|
// 2-6小时 未完成6-10秒
|
||||||
TimeLock::setTimes($this->last_task_finish ? (mt_rand(2, 6) * 60 * 60) : mt_rand(6, 10));
|
TimeLock::setTimes($this->last_task_finish ? (mt_rand(2, 6) * 60 * 60) : mt_rand(6, 10));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user