一、更新说明
1、更新javadsp\dsp.jar;
2、更新javadsp\config\BankFront.xml,增加CIB03的回单配置:
<serverURL for="queryDzhdZipFileNames" readme="电子回单zip文件名称列表查询">http://139.198.176.149:16004/diversion/merchant/queryDzhdZipFileNames</serverURL>
<serverURL for="loadDzhdZipFile" readme="电子回单zip 文件下载">http://139.198.176.149:16004/diversion/merchant/loadDzhdZipFile</serverURL>
<receiptDownloadType readme = "电子回单类型">http</receiptDownloadType>
更新后CIB03-BankFront.xml配置如下:
<bankFront readme="CIB03">
<bankCode readme="直联线路">CIB03</bankCode>
<corporation readme="公司">5000001</corporation>
<group readme="账户分组">Default</group>
<code>CIB03Front01</code>
<name>兴业前置机2号</name>
<serverURL for="singlePaySubmit" readme="单笔实时代付支付提交">http://139.198.176.149:16004/diversion/merchant/single/pay</serverURL>
<serverURL for="singlePayQuery" readme="单笔实时代付状态查询">http://139.198.176.149:16004/diversion/merchant/single/payQuery</serverURL>
<serverURL for="authSubmit" readme="鉴权提交服务地址">http://139.198.176.149:16004/diversion/merchant/acctAuth</serverURL>
<serverURL for="singleRecSubmit" readme="单笔实时代收支付提交">http://139.198.176.149:16004/diversion/merchant/single/collect</serverURL>
<serverURL for="singleRecQuery" readme="单笔实时代收状态查询">http://139.198.176.149:16004/diversion/merchant/single/collectQuery</serverURL>
<serverURL for="batPaySubmit" readme="批量代付支付提交">http://139.198.176.149:16004/diversion/merchant/batch/pay</serverURL>
<serverURL for="batRecSubmit" readme="批量代扣支付提交">http://139.198.176.149:16004/diversion/merchant/batch/collect</serverURL>
<serverURL for="batRecPayQuery" readme="批量代收付状态查询">http://139.198.176.149:16004/diversion/merchant/batch/queryBatchStatus</serverURL>
<serverURL for="downloadSatement" readme="账单文件下载">http://139.198.176.149:16004/diversion/merchant/file/reconc</serverURL>
<serverURL for="qryTransaction" readme="历史明细查询地址">http://139.198.176.149:16004/diversion/merchant/file/provisions</serverURL>
<serverURL for="agreementSign" readme="签约第一步(账户协议签约)">http://139.198.176.149:16004/diversion/merchant/agreementSign</serverURL>
<serverURL for="entrustCollectSign" readme="签约第一步(委托代收签约)">http://139.198.176.149:16004/diversion/merchant/entrustCollectSign</serverURL>
<serverURL for="smsCheck" readme="签约第二步(短信验证)">http://139.198.176.149:16004/diversion/merchant/common/smsCheck</serverURL>
<serverURL for="balance" readme="余额查询">http://139.198.176.149:16004/diversion/merchant/common/smsCheck</serverURL>
<serverURL for="batAuth" readme="批量签约">http://139.198.176.149:16004/diversion/merchant/batchSign</serverURL>
<serverURL for="batAuthQry" readme="批量签约查询">http://139.198.176.149:16004/diversion/merchant/batchSignQuery</serverURL>
<serverURL for="queryDzhdZipFileNames" readme="电子回单zip文件名称列表查询">http://139.198.176.149:16004/diversion/merchant/queryDzhdZipFileNames</serverURL>
<serverURL for="loadDzhdZipFile" readme="电子回单zip 文件下载">http://139.198.176.149:16004/diversion/merchant/loadDzhdZipFile</serverURL>
<receiptDownloadType readme = "电子回单类型">http</receiptDownloadType>
<ftpSet for="receipt" readme="电子回单">
<ftpType readme="如果是sftp,填sftp,普通ftp则置空"></ftpType>
<serverIP des="ftp服务">124.160.27.118</serverIP>
<port des="ftp服务端口">28</port>
<userName des="ftp用户名">ftpuser</userName>
<userPassword des="ftp用户密码">fingard1!</userPassword>
<downDir des="下载目录">/QAD-DSP/ftp/CIB03</downDir>
<charset des="字符集">UTF-8</charset>
</ftpSet>
<taskTimer enable="false" readme="定时任务">
<intervalSecs readme="轮询间隔时间:秒,小于等于0则不启动">60</intervalSecs>
<taskNameList readme="存量客户线下导入提交及查询任务列表">authorizedSubmit,authorizedQuery</taskNameList>
</taskTimer>
<bkTransFolder readme="定时任务中线下导入文件本机绝对路径">E:\CIB03</bkTransFolder>
</bankFront>
3、更新javadsp\config\portfiles\CIB03\config.xml,增加如下配置:
<item actATS="081010163520000109" for="receipt" readme="电子回单,注意actATS=''中的值指的是资金发起代收付交易的保险公司账号,非商户号">
<merchantId des="商户ID">ORG070000000009900403</merchantId>
<ownKeyStorePath des="私钥">{$DSPHOME}\config\portfiles\CIB03\merchant001-rsa.pfx</ownKeyStorePath>
<ownKeyPassword des="私钥密码">222222</ownKeyPassword>
<oppCertFilePath des="交易兴业公钥(客户自己生成的公钥)">{$DSPHOME}\config\portfiles\CIB03\pubMerchant001-rsa.cer</oppCertFilePath>
<ownCertFilePath des="加密公钥证书路径(兴业提供的公钥)">{$DSPHOME}\config\portfiles\CIB03\pubServer-rsa.cer</ownCertFilePath>
</item>
更新后config.xml如下:
<?xml version="1.0" encoding="UTF-8"?>
<config readme="CIB03Config">
<!-- ******************************************* 通用配置,需改动 ******************************************* -->
<actSet readme="账号设置,actATS设置ATS发来的账号,for设置对应的业务">
<item actATS="081010163520000109" for="receipt" readme="电子回单,注意actATS=''中的值指的是资金发起代收付交易的保险公司账号,非商户号">
<merchantId des="商户ID">ORG070000000009900403</merchantId>
<ownKeyStorePath des="私钥">{$DSPHOME}\config\portfiles\CIB03\merchant001-rsa.pfx</ownKeyStorePath>
<ownKeyPassword des="私钥密码">222222</ownKeyPassword>
<oppCertFilePath des="交易兴业公钥(客户自己生成的公钥)">{$DSPHOME}\config\portfiles\CIB03\pubMerchant001-rsa.cer</oppCertFilePath>
<ownCertFilePath des="加密公钥证书路径(兴业提供的公钥)">{$DSPHOME}\config\portfiles\CIB03\pubServer-rsa.cer</ownCertFilePath>
</item>
...
</actSet>
<!-- ******************************************* 电子回单 ******************************************* -->
<receiptVersion readme="回单程序版本,置空或填pro">pro</receiptVersion>
<receiptRequestType readme="电子回单下载方式(空-前置机下载,sftp:sftp下载)">sftp</receiptRequestType>
...
</config>
4、从EVE导出5002-电子回单脚本;
5、重启dsp进行验证;