|
|
@@ -629,17 +629,18 @@ public class WxProviderServiceImpl implements WxProviderService {
|
|
|
|
|
|
//结算银行账户
|
|
|
BankAccountInfo bankAccountInfo = new BankAccountInfo();
|
|
|
- bankAccountInfo.setBankAccountType("对公银行账户/经营者个人银行卡");
|
|
|
- bankAccountInfo.setAccountName(rsaEncryptData("开户名称"));
|
|
|
+ bankAccountInfo.setBankAccountType(form.getBankAccountType());
|
|
|
+ bankAccountInfo.setAccountName(rsaEncryptData(form.getAccountName()));
|
|
|
|
|
|
- //开户银行-对私银行列表-对公银行列表-是否需要填写支行字段-bank_alias_code
|
|
|
- bankAccountInfo.setAccountBank("开户银行");
|
|
|
+ //开户银行-对私银行列表-对公银行列表-查看是否需要填写支行字段-bank_alias_code
|
|
|
+ bankAccountInfo.setAccountBank(form.getAccountBank());
|
|
|
//查询接口
|
|
|
- bankAccountInfo.setBankBranchId("开户银行银行号");
|
|
|
- bankAccountInfo.setAccountNumber(rsaEncryptData("银行账号"));
|
|
|
+ if (form.getBankBranchId()!=null){
|
|
|
+ bankAccountInfo.setBankBranchId(form.getBankBranchId());
|
|
|
+ }
|
|
|
+ bankAccountInfo.setAccountNumber(rsaEncryptData(form.getAccountNumber()));
|
|
|
submitInfo.setBankAccountInfo(bankAccountInfo);
|
|
|
- Gson gson = new Gson();
|
|
|
- String json = gson.toJson(submitInfo);
|
|
|
+ String json = new Gson().toJson(submitInfo);
|
|
|
System.out.println(json);
|
|
|
}
|
|
|
|