瀏覽代碼

SMBC口座振替結果取得の引っ越し

master
sosuke.iwabuchi 2 年之前
父節點
當前提交
f86b9710ed
共有 4 個檔案被更改,包括 10 行新增11 行删除
  1. +5
    -5
      app/Console/Commands/SMBCBankAccountRegisterPoll.php
  2. +1
    -1
      app/Console/Kernel.php
  3. +3
    -3
      app/Console/Schedules/SMBCBankAccountRegisterPoll.php
  4. +1
    -2
      app/Http/Controllers/Web/Customer/BankAccountRegisterStartController.php

app/Console/Commands/SMBCPoll.php → app/Console/Commands/SMBCBankAccountRegisterPoll.php 查看文件

@@ -3,9 +3,9 @@
namespace App\Console\Commands;

use App\Email\Members\BankAccountRegisterFailedNotice;
use App\Http\API\SMBC\PollResultRecord;
use App\Http\API\SMBC\SMBC;
use App\Http\API\SMBC\SMBCStatus;
use App\Http\API\SMBC\BankAccountRegister\PollResultRecord;
use App\Http\API\SMBC\BankAccountRegister\SMBC;
use App\Http\API\SMBC\BankAccountRegister\SMBCStatus;
use App\Kintone\Models\BankAccountUpdateApplication;
use App\Kintone\Models\Customer;
use App\Logic\EmailManager;
@@ -18,10 +18,10 @@ use Illuminate\Support\Carbon;
use Illuminate\Support\Collection;
use Illuminate\Support\Facades\DB;

class SMBCPoll extends BaseCommand
class SMBCBankAccountRegisterPoll extends BaseCommand
{

const COMMAND = "smbc:poll";
const COMMAND = "smbc:bank-account-register-poll";


/**

+ 1
- 1
app/Console/Kernel.php 查看文件

@@ -13,7 +13,7 @@ class Kernel extends ConsoleKernel
protected function schedule(Schedule $schedule): void
{
Schedules\HeartBeat::register($schedule);
Schedules\SMBCPoll::register($schedule);
Schedules\SMBCBankAccountRegisterPoll::register($schedule);
Schedules\BankAccountRegisterRemaind::register($schedule);
Schedules\SeasonTikcetContractSelectionFillCandidates::register($schedule);
Schedules\SeasonTikcetContractSelectionSetResult::register($schedule);


app/Console/Schedules/SMBCPoll.php → app/Console/Schedules/SMBCBankAccountRegisterPoll.php 查看文件

@@ -2,15 +2,15 @@

namespace App\Console\Schedules;

use App\Console\Commands\SMBCPoll as CommandsSMBCPoll;
use App\Console\Commands\SMBCBankAccountRegisterPoll as Command;
use Illuminate\Console\Scheduling\Schedule;

class SMBCPoll extends BaseSchedule
class SMBCBankAccountRegisterPoll extends BaseSchedule
{

static public function register(Schedule $schedule)
{
$schedule->command(CommandsSMBCPoll::class)
$schedule->command(Command::class)
->everyThreeMinutes()
->unlessBetween('1:00', '6:00')
->description("SMBC口座振替申請結果取得");

+ 1
- 2
app/Http/Controllers/Web/Customer/BankAccountRegisterStartController.php 查看文件

@@ -2,8 +2,7 @@

namespace App\Http\Controllers\Web\Customer;

use App\Exceptions\ConfigException;
use App\Http\API\SMBC\SMBC;
use App\Http\API\SMBC\BankAccountRegister\SMBC;
use App\Http\Controllers\Web\WebController;
use App\Kintone\Models\Customer;
use Illuminate\Http\JsonResponse;


Loading…
取消
儲存