新增 处方pdf转图片

This commit is contained in:
wucongxing8150 2024-05-17 10:51:08 +08:00
parent c4143b5104
commit 7173db8219

View File

@ -0,0 +1,30 @@
<?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("全部结束");
}
}