This commit is contained in:
Your Name
2026-11-26 15:46:20 +08:00
parent db6d327e91
commit be79e09c83
170 changed files with 21159 additions and 13217 deletions
@@ -0,0 +1,23 @@
<?php
declare(strict_types=1);
namespace app\command;
use app\adminapi\service\DesktopSessionService;
use think\console\Command;
use think\console\Input;
use think\console\Output;
final class DesktopSessionSettle extends Command
{
protected function configure()
{
$this->setName('desktop-session:settle')->setDescription('结算已到期的医生工作站登录记录');
}
protected function execute(Input $input, Output $output): int
{
$output->writeln('已结算工作站会话 ' . DesktopSessionService::settleDue() . ' 条');
return 0;
}
}