hospital-applets-api/app/Command/PrescriptionPdfToImgCommand.php

31 lines
645 B
PHP

<?php
declare(strict_types=1);
namespace App\Command;
use Hyperf\Command\Command as HyperfCommand;
use Hyperf\Command\Annotation\Command;
use Psr\Container\ContainerInterface;
#[Command]
class PrescriptionPdfToImgCommand extends HyperfCommand
{
public function __construct(protected ContainerInterface $container)
{
parent::__construct('PrescriptionPdfToImgCommand');
}
public function configure(): void
{
parent::configure();
$this->setDescription('处方pdf转图片');
}
public function handle(): void
{
$this->line("开始");
$this->line("全部结束");
}
}