提交 0ffae551 authored 作者: aiqingguo's avatar aiqingguo

承运借款流程-宁波银行

上级 ff594c9d
......@@ -13,7 +13,7 @@ public class NbBankConfig {
private String appKey = "77667c76_3503_4c04_95f7_fc10938c7942";
private String merId = "EFT33021200556315";
private String file;
private String configFilePath;
private String publicKeyPath;
private String privateKeyPath;
......
......@@ -37,7 +37,8 @@ public class TempBankController {
@RequestMapping(value = "/orderDirectPay", method = RequestMethod.POST)
public Result<NbBankOrderPayResultVO> orderDirectPay() {
return Result.ok(bankService.orderDirectPay(null,2,"313332082914","86041110000076809", "黑玫瑰"));
// return Result.ok(bankService.orderDirectPay(null,2,"313332082914","86041110000076809", "黑玫瑰"));
return Result.ok(bankService.orderDirectPay(null,2,"313332082914","86041110000075926", "客户客户"));
}
@ApiOperation(value = "查询", notes = "<br>By:艾庆国")
......
......@@ -44,9 +44,9 @@ public class NbBankThirdpartyServiceImpl implements NbBankThirdpartyService {
File file = new File("/app/nbbank");
file.mkdir();
downloadUsingStream(nbBankConfig.getConfigFilePath(), "/app/nbbank/bankConfig.json");
downloadUsingStream(nbBankConfig.getPublicKeyPath(), "/app/nbbank/bankPubKey.cer");
downloadUsingStream(nbBankConfig.getPrivateKeyPath(), "/app/nbbank/bankPrivateKey.sm2");
downloadUsingStream(nbBankConfig.getPrivateKeyPath(), "/app/nbbank/bankConfig.json");
FileSystemResource resource = new FileSystemResource("/app/nbbank/bankConfig.json");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论