SignatureInfo signatureInfo = new SignatureInfo();
signatureInfo.setTheme("第三方签署合同测试");
signatureInfo.setFinishDate("2021-8-1");
signatureInfo.setSignMode("1");
signatureInfo.setEnterpriseName("广西柳钢东信科技有限公司");
signatureInfo.setIsTemplateUse("0");
List<SignatureSigner> signatureSigners = new ArrayList<>();
SignatureSigner signatureSigner = new SignatureSigner();
signatureSigner.setEnterpriseName("广西柳钢东信科技有限公司");
signatureSigner.setIdentity("452227199310223312");
signatureSigners.add(signatureSigner);
signatureInfo.setSinatrueSignerPushList(signatureSigners);
List<SignatureFile> signatureFiles = new ArrayList<>();
SignatureFile signatureFile = new SignatureFile();
signatureFile.setFileUrl("/group1/trusted/dev/temp/工商快照.pdf");
signatureFile.setFileName("工商快照.pdf");
signatureFiles.add(signatureFile);
signatureInfo.setSinatrueSignFileList(signatureFiles);
String signatureInfoString = JSONObject.toJSONString(signatureInfo);
JSONObject signatureInfoStringObject = JSONObject.parseObject(signatureInfoString);
try {
Result<JSONObject> jsonObjectResult = SendHttpRequestUtil.doPost("http://220.173.106.240:10062/test/api/sinatrue/sinatrueSignInfo/push", signatureInfoStringObject, "MIICdgIBADANBgkqhkiG9w0BAQEFAASCAmAwggJcAgEAAoGBAMOf99XMdB30wza4\n" +
"5c3Ae1PD5xmIrFlKdMervW/jG9JwsUUtKWentawT36lKtlSpThfwLs5xqOABomo/\n" +
"up+qRimcqaML0GLy3FFwpEhVxllYNZjOxgmP3wWf+Kfpu5WMEDKmjgjXKn8EMq6t\n" +
"WoRLYkKjPFXkUxawxYHD7zVXIPI1AgMBAAECgYAR7LVzxKEbIZNFj1mXKbzjJv8k\n" +
"6s4H/HeI2Caqet/Qv3yuvv2dPtO5qbSDuZHNXhoGvX48clOr+tpb6+z4tkxpWFrL\n" +
"66JyHgKESChWSChCzeZ9ejPzHqJ6iyiDG+d+RSSXHYGpAFFr4sGH27DY6Zd2jWYv\n" +
"9wXbRZb5o9GS3q5/PQJBAP1du/qduoPPvQuZB3MantMPcweug66ZeEj0fPZ8gjep\n" +
"ma4x17tE8lQ35QAn+lUrGrDiou42oVGUXUeIRc9B82cCQQDFqJIrkimLSVv3B3uy\n" +
"AWs4JQXnFvR7nRD1LOloiqcwo6JjNA3lhiHji6o0kFgmX2TJhVZ8R2sJPK+OuXCx\n" +
"NSgDAkBU9o7n/uah9xLlBb8qyT2Dd4XSiKId9dcRV/Nj0OL1+YjQkmROp1NADLJd\n" +
"eAqJbvf3YzjR+z3jloYlS7xlQS93AkBVpdvgwW77CgitnDJ/SZoaNADAx/OcdMza\n" +
"UGG7iQk1TFKbRf0Xje21Wdmg+UMZLZDQudRl+dRppkA0SiqIvw3dAkEA4d9m6tBq\n" +
"vmAok5hVOTDxvwkBo6XQtwOLchplzfJBEsqVwHM3/ghZjNAPqRkeK1VQCwdJ0pyI\n" +
"Qynxg/GHy3outA==","sms");
System.out.println(jsonObjectResult.toString());
} catch (Exception e) {
e.printStackTrace();
}
2021-06-30
©著作权归作者所有,转载或内容合作请联系作者
- 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
- 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
- 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...