123456789101112131415161718192021222324252627282930313233343536 |
- <?php
- namespace App\Console\Commands;
- use Illuminate\Console\Command;
- class Test extends Command
- {
- /**
- * The name and signature of the console command.
- *
- * @var string
- */
- protected $signature = 'test';
- /**
- * The console command description.
- *
- * @var string
- */
- protected $description = 'Command description';
- /**
- * @return bool
- * @throws \GuzzleHttp\Exception\GuzzleException
- */
- public function handle()
- {
- $books = \App\Modules\Book\Services\BookConfigService::getBookByRole('叶安');
- dd($books);
- }
- }
|