疑难杂症
2023-03-09 06:27
683
0
1、创建脚本
php artisan make:command SendEmails
脚本创建完成后,需要配置方可使用:
/**
* The Artisan commands provided by your application.
*
* @var array
*/
protected $commands = [
Commands\MigrateJob::class,
];
/**
* Register the commands for the application.
*
* @return void
*/
protected function commands()
{