Commit 0131e863 by lizhilin

更新

parent 5f3f6c01
......@@ -170,6 +170,7 @@ protected function form()
->autoUpload()
->required()
->help('内容须包含三证合一证件照、法人身份证正面照、法人身份证反面照、开户银行许可证照。 压缩 zip包后上传,最大限制为 9 M'); //hf
$form->text('bank_code', '开户银行编码')->required()->help('示例值:01020000 <a href="https://cloudpnrcdn.oss-cn-shanghai.aliyuncs.com/Adapay/prod/common/documents/Adapay%E6%94%AF%E6%8C%81%E9%93%B6%E8%A1%8C%E5%88%97%E8%A1%A8.xlsx" target="_blank">银行代码表</a>');
$form->text('card_no', '银行卡号(对公)')->required();
$form->text('card_name', '银行卡对应的户名')->required();
$form->hidden('audit_state');
......@@ -229,10 +230,13 @@ function (Form $form, $result) {
"email" => $params['email'],
# 上传附件
"attach_file" => new \CURLFile($params['attach_file']),
"bank_acct_type" => 1, //结算账户类型 1 对公
# 银行卡号
"card_no" => $params['card_no'], //如果需要自动开结算账户,本字段必填
# 银行卡对应的户名
"card_name" => $params['card_name'], //如果需要自动开结算账户,本字段必填
#结算账户开户银行编码
"bank_code" => $params['bank_code'], //如果需要自动开结算账户,本字段必填
);
$result = (new Adapay())->createCompany($member_params);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment