test tools comany request
This commit is contained in:
@@ -7,6 +7,7 @@ namespace App\Command;
|
||||
use Hyperf\Command\Command as HyperfCommand;
|
||||
use Hyperf\Command\Annotation\Command;
|
||||
use Psr\Container\ContainerInterface;
|
||||
use App\Platform\Tools\Request\CompanyRequest;
|
||||
|
||||
#[Command]
|
||||
class AppCompanySync extends HyperfCommand
|
||||
@@ -24,7 +25,9 @@ class AppCompanySync extends HyperfCommand
|
||||
|
||||
public function handle()
|
||||
{
|
||||
$companies =
|
||||
$companies = CompanyRequest::all();
|
||||
|
||||
dump($$companies);
|
||||
|
||||
$this->line('Hello Hyperf!', 'info');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user