소스 검색

SMBC口座登録時のパラメータのバリデーション

master
sosuke.iwabuchi 2 년 전
부모
커밋
26c7e09705
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. +3
    -1
      app/Http/API/SMBC/BankAccountRegister/SMBC.php

+ 3
- 1
app/Http/API/SMBC/BankAccountRegister/SMBC.php 파일 보기

@@ -70,9 +70,11 @@ class SMBC
throw new ConfigException('smbc.bankAccountRegister.registerUrl', $url);
}

$onlyZenkakuCustomerName = preg_replace("/[^\p{Hiragana}\p{Katakana}\p{Han}]/u", "", $customer->customerName);

$param = [
'bill_no' => sprintf("%012d", $customer->customerCode),
'bill_name' => $customer->customerName,
'bill_name' => $onlyZenkakuCustomerName,
'bill_kana' => mb_convert_kana($customer->customerNameKana, "ks"),

'version' => "130",


Loading…
취소
저장