新增 处方pdf转图片
This commit is contained in:
parent
c4143b5104
commit
7173db8219
30
app/Command/PrescriptionPdfToImgCommand.php
Normal file
30
app/Command/PrescriptionPdfToImgCommand.php
Normal 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("全部结束");
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user