You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- <?php
-
- namespace App\Http\Controllers\Web\SeasonTicketContract\Selection;
-
- use App\Http\Controllers\Web\FromKintoneController;
- use App\Jobs\SeasonTicketContract\Selection\NoticeToCandidates;
- use Illuminate\Http\JsonResponse;
- use Illuminate\Http\Request;
-
- class NoticeToCandidatesController extends FromKintoneController
- {
-
- public function name(): string
- {
- return "定期選考メール一斉通知依頼";
- }
-
- public function description(): string
- {
- return "定期選考メール一斉通知を依頼する";
- }
-
-
- public function __construct(protected NoticeToCandidatesParams $param)
- {
- parent::__construct();
- }
-
- protected function run(Request $request): JsonResponse
- {
- $param = $this->param;
-
- NoticeToCandidates::dispatch($param->recordNo)->delay(5);
-
- return $this->successResponse();
- }
- }
|