CaiWuXiTong/app/Console/Commands/ImportPortalFreightBills.php

19 lines
481 B
PHP

<?php
namespace App\Console\Commands;
use App\Support\CourierBills\PortalFreightBillImports;
use Illuminate\Console\Command;
final class ImportPortalFreightBills extends Command
{
protected $signature = 'portal-freight:import-pending';
protected $description = '受限批容器处理一份厂家或快递门户运费账单';
public function handle(PortalFreightBillImports $imports): int
{
$imports->processNext();
return self::SUCCESS;
}
}