一、更新说明

1、更新javadsp\dsp.jar;

2、更新javadsp\config\BankFront.xml,增加CIB03的回单配置:

  1. <serverURL for="queryDzhdZipFileNames" readme="电子回单zip文件名称列表查询">http://139.198.176.149:16004/diversion/merchant/queryDzhdZipFileNames</serverURL>
  2. <serverURL for="loadDzhdZipFile" readme="电子回单zip 文件下载">http://139.198.176.149:16004/diversion/merchant/loadDzhdZipFile</serverURL>
  3. <receiptDownloadType readme = "电子回单类型">http</receiptDownloadType>

更新后CIB03-BankFront.xml配置如下:

  1. <bankFront readme="CIB03">
  2. <bankCode readme="直联线路">CIB03</bankCode>
  3. <corporation readme="公司">5000001</corporation>
  4. <group readme="账户分组">Default</group>
  5. <code>CIB03Front01</code>
  6. <name>兴业前置机2号</name>
  7. <serverURL for="singlePaySubmit" readme="单笔实时代付支付提交">http://139.198.176.149:16004/diversion/merchant/single/pay</serverURL>
  8. <serverURL for="singlePayQuery" readme="单笔实时代付状态查询">http://139.198.176.149:16004/diversion/merchant/single/payQuery</serverURL>
  9. <serverURL for="authSubmit" readme="鉴权提交服务地址">http://139.198.176.149:16004/diversion/merchant/acctAuth</serverURL>
  10. <serverURL for="singleRecSubmit" readme="单笔实时代收支付提交">http://139.198.176.149:16004/diversion/merchant/single/collect</serverURL>
  11. <serverURL for="singleRecQuery" readme="单笔实时代收状态查询">http://139.198.176.149:16004/diversion/merchant/single/collectQuery</serverURL>
  12. <serverURL for="batPaySubmit" readme="批量代付支付提交">http://139.198.176.149:16004/diversion/merchant/batch/pay</serverURL>
  13. <serverURL for="batRecSubmit" readme="批量代扣支付提交">http://139.198.176.149:16004/diversion/merchant/batch/collect</serverURL>
  14. <serverURL for="batRecPayQuery" readme="批量代收付状态查询">http://139.198.176.149:16004/diversion/merchant/batch/queryBatchStatus</serverURL>
  15. <serverURL for="downloadSatement" readme="账单文件下载">http://139.198.176.149:16004/diversion/merchant/file/reconc</serverURL>
  16. <serverURL for="qryTransaction" readme="历史明细查询地址">http://139.198.176.149:16004/diversion/merchant/file/provisions</serverURL>
  17. <serverURL for="agreementSign" readme="签约第一步(账户协议签约)">http://139.198.176.149:16004/diversion/merchant/agreementSign</serverURL>
  18. <serverURL for="entrustCollectSign" readme="签约第一步(委托代收签约)">http://139.198.176.149:16004/diversion/merchant/entrustCollectSign</serverURL>
  19. <serverURL for="smsCheck" readme="签约第二步(短信验证)">http://139.198.176.149:16004/diversion/merchant/common/smsCheck</serverURL>
  20. <serverURL for="balance" readme="余额查询">http://139.198.176.149:16004/diversion/merchant/common/smsCheck</serverURL>
  21. <serverURL for="batAuth" readme="批量签约">http://139.198.176.149:16004/diversion/merchant/batchSign</serverURL>
  22. <serverURL for="batAuthQry" readme="批量签约查询">http://139.198.176.149:16004/diversion/merchant/batchSignQuery</serverURL>
  23. <serverURL for="queryDzhdZipFileNames" readme="电子回单zip文件名称列表查询">http://139.198.176.149:16004/diversion/merchant/queryDzhdZipFileNames</serverURL>
  24. <serverURL for="loadDzhdZipFile" readme="电子回单zip 文件下载">http://139.198.176.149:16004/diversion/merchant/loadDzhdZipFile</serverURL>
  25. <receiptDownloadType readme = "电子回单类型">http</receiptDownloadType>
  26. <ftpSet for="receipt" readme="电子回单">
  27. <ftpType readme="如果是sftp,填sftp,普通ftp则置空"></ftpType>
  28. <serverIP des="ftp服务">124.160.27.118</serverIP>
  29. <port des="ftp服务端口">28</port>
  30. <userName des="ftp用户名">ftpuser</userName>
  31. <userPassword des="ftp用户密码">fingard1!</userPassword>
  32. <downDir des="下载目录">/QAD-DSP/ftp/CIB03</downDir>
  33. <charset des="字符集">UTF-8</charset>
  34. </ftpSet>
  35. <taskTimer enable="false" readme="定时任务">
  36. <intervalSecs readme="轮询间隔时间:秒,小于等于0则不启动">60</intervalSecs>
  37. <taskNameList readme="存量客户线下导入提交及查询任务列表">authorizedSubmit,authorizedQuery</taskNameList>
  38. </taskTimer>
  39. <bkTransFolder readme="定时任务中线下导入文件本机绝对路径">E:\CIB03</bkTransFolder>
  40. </bankFront>

3、更新javadsp\config\portfiles\CIB03\config.xml,增加如下配置:

  1. <item actATS="081010163520000109" for="receipt" readme="电子回单,注意actATS=''中的值指的是资金发起代收付交易的保险公司账号,非商户号">
  2. <merchantId des="商户ID">ORG070000000009900403</merchantId>
  3. <ownKeyStorePath des="私钥">{$DSPHOME}\config\portfiles\CIB03\merchant001-rsa.pfx</ownKeyStorePath>
  4. <ownKeyPassword des="私钥密码">222222</ownKeyPassword>
  5. <oppCertFilePath des="交易兴业公钥(客户自己生成的公钥)">{$DSPHOME}\config\portfiles\CIB03\pubMerchant001-rsa.cer</oppCertFilePath>
  6. <ownCertFilePath des="加密公钥证书路径(兴业提供的公钥)">{$DSPHOME}\config\portfiles\CIB03\pubServer-rsa.cer</ownCertFilePath>
  7. </item>

更新后config.xml如下:

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <config readme="CIB03Config">
  3. <!-- ******************************************* 通用配置,需改动 ******************************************* -->
  4. <actSet readme="账号设置,actATS设置ATS发来的账号,for设置对应的业务">
  5. <item actATS="081010163520000109" for="receipt" readme="电子回单,注意actATS=''中的值指的是资金发起代收付交易的保险公司账号,非商户号">
  6. <merchantId des="商户ID">ORG070000000009900403</merchantId>
  7. <ownKeyStorePath des="私钥">{$DSPHOME}\config\portfiles\CIB03\merchant001-rsa.pfx</ownKeyStorePath>
  8. <ownKeyPassword des="私钥密码">222222</ownKeyPassword>
  9. <oppCertFilePath des="交易兴业公钥(客户自己生成的公钥)">{$DSPHOME}\config\portfiles\CIB03\pubMerchant001-rsa.cer</oppCertFilePath>
  10. <ownCertFilePath des="加密公钥证书路径(兴业提供的公钥)">{$DSPHOME}\config\portfiles\CIB03\pubServer-rsa.cer</ownCertFilePath>
  11. </item>
  12. ...
  13. </actSet>
  14. <!-- ******************************************* 电子回单 ******************************************* -->
  15. <receiptVersion readme="回单程序版本,置空或填pro">pro</receiptVersion>
  16. <receiptRequestType readme="电子回单下载方式(空-前置机下载,sftp:sftp下载)">sftp</receiptRequestType>
  17. ...
  18. </config>

4、从EVE导出5002-电子回单脚本;
image.png

5、重启dsp进行验证;