浏览代码

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",


正在加载...
取消
保存