|
@@ -535,7 +535,13 @@ public class OwnMessageController extends BaseController {
|
|
|
String jksPath = configService.selectConfigByKey("jks_path").getMsg();
|
|
|
//项目编号
|
|
|
String projectCode = DateUtils.dateTimeNow();
|
|
|
- JSONObject jsonObject = AxqCommonUtil.contractSigning(userId,"MM",fileName,keyWords,"0","0","250","250",projectCode,filePath,new HttpConnector(jksPath, "123456", "Test", "CA4572A39DCB55ABE05311016B0A04B3"));
|
|
|
+ //密码
|
|
|
+ String keyStorePassword = configService.selectConfigByKey("cfca_key_store_password").getMsg();
|
|
|
+ //渠道
|
|
|
+ String channel = configService.selectConfigByKey("cfca_channel").getMsg();
|
|
|
+ //platId
|
|
|
+ String platId = configService.selectConfigByKey("cfca_platId").getMsg();
|
|
|
+ JSONObject jsonObject = AxqCommonUtil.contractSigning(userId,"MM",fileName,keyWords,"0","0","250","250",projectCode,filePath,new HttpConnector(jksPath,keyStorePassword, channel,platId));
|
|
|
/**-------- CFCA盖章 结束--------**/
|
|
|
/**-------- CFCA盖章文件下载 开始--------**/
|
|
|
//获取错误码
|
|
@@ -554,7 +560,7 @@ public class OwnMessageController extends BaseController {
|
|
|
//String path = "D:/zhuomian/cfca/";
|
|
|
String path = configService.selectConfigByKey("cfca_file_path").getMsg();
|
|
|
//下载文件
|
|
|
- AxqCommonUtil.downloadFile(contractNo,path,new HttpConnector(jksPath, "123456", "Test", "CA4572A39DCB55ABE05311016B0A04B3"));
|
|
|
+ AxqCommonUtil.downloadFile(contractNo,path,new HttpConnector(jksPath,keyStorePassword,channel,platId));
|
|
|
/**-------- CFCA盖章文件下载 结束--------**/
|
|
|
//上传到文件服务器
|
|
|
//获取token
|