|
@@ -172,7 +172,7 @@ public class EsignSignServiceImpl implements IEsignSignService {
|
|
|
orderFileService.updateOrderFileByFlowId(orderFile);
|
|
|
} catch (RestClientException e) {
|
|
|
e.printStackTrace();
|
|
|
- logger.error("查询基础订单详情报错",e);
|
|
|
+ logger.error("修改订单回调错误",e);
|
|
|
throw e;
|
|
|
}
|
|
|
}
|
|
@@ -219,19 +219,19 @@ public class EsignSignServiceImpl implements IEsignSignService {
|
|
|
|
|
|
// 流程配置,可以不配置,使用默认配置
|
|
|
String noticeDeveloperUrl = eSignConfig.getSignSuccessUrl();//回调通知URL
|
|
|
- FlowConfigInfo flowConfigInfo = new FlowConfigInfo(noticeDeveloperUrl, "1,2", redirectUrl, null);
|
|
|
+ FlowConfigInfo flowConfigInfo = new FlowConfigInfo(noticeDeveloperUrl, "1,2", null, null);
|
|
|
FlowInfo flowInfo = new FlowInfo(true,true,businessScene,flowConfigInfo);
|
|
|
|
|
|
// 签署方信息
|
|
|
// 平台方
|
|
|
PosBeanInfo posBean1 = new PosBeanInfo("1", posX, posY); // 签署位置
|
|
|
- SignfieldInfo signfield1 = new SignfieldInfo(false,"2", fileId, null, null, null, posBean1, null); // 签署区(签署主体是公司)
|
|
|
+ SignfieldInfo signfield1 = new SignfieldInfo(true,"2", fileId, null, null, null, posBean1, null); // 签署区(签署主体是公司)
|
|
|
// SignfieldInfo signfield1 = new SignfieldInfo(false, fileId, null, null, null, posBean1, null); // 签署区(个人签署)
|
|
|
List<SignfieldInfo> signfields = new ArrayList<>();
|
|
|
signfields.add(signfield1);
|
|
|
// SignerAccount signAccount = new SignerAccount(signerAccountId, signerAccountId);//签署方账号
|
|
|
SignerAccount signAccount = new SignerAccount(signerAccountId, authorizedAccountId);//签署方账号
|
|
|
- Signer signer1 = new Signer(false, 1, signAccount, signfields, null); // 签署方
|
|
|
+ Signer signer1 = new Signer(true, 1, signAccount, signfields, null); // 签署方
|
|
|
// 用户方
|
|
|
// PosBeanInfo posBean2 = new PosBeanInfo("1", 200F, 100F); // 签署位置
|
|
|
// SignfieldInfo signfield2 = new SignfieldInfo(false, null, fileId, null, null, null, posBean2, null); // 签署区
|