初始化代码-发现错误修改

This commit is contained in:
2025-08-08 14:45:40 +08:00
parent 48ee8e54cc
commit 41715e4883
53725 changed files with 810530 additions and 1 deletions

View File

@@ -0,0 +1,35 @@
<?php
namespace app\common\command;
use think\console\Command;
use think\console\Input;
use think\console\Output;
class CloseDateMicro extends Command
{
protected function configure()
{
$this->setName('close-date-micro')
->setDescription('酒吧房到时见掉麦'); //
}
/**
* 清理过期装扮
* @param Input $input
* @param Output $output
* @return int|void|null
* @throws \think\Exception
* @throws \think\exception\PDOException
*/
protected function execute(Input $input, Output $output)
{
while (true) {
sleep(2);
$reslut = model('api/PubRoom')->close_room_date_micro();
echo '酒吧房掉麦监控!'.PHP_EOL;
}
}
}