|  |  | 
 |  |  |         return null; | 
 |  |  |     } | 
 |  |  |     /** | 
 |  |  |      * 查询企业签约状态 审批状态,0正在申请1通过2驳回 | 
 |  |  |      * 查询企业签约状态 审核状态,0正在申请1通过2驳回 | 
 |  |  |      * @param email | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  | 
 |  |  | //          params.put("file",file); | 
 |  |  |           params.put("url",fileUrl); | 
 |  |  |           params.put("dealType",5); //指定合同文件签署方式 5 为部分自动签 | 
 |  |  |           params.put("positionType",2); //指定通过表单域方式设置签字位置 | 
 |  |  | //          params.put("positionType",2); //指定通过表单域方式设置签字位置 | 
 |  |  |           params.put("positionType",0); //指定公章位置类型:0或null使用签字座标位置或不指定签字位置;1表单域定位(表单域如果上传为pdf时,需pdf自行定义好表单域,html及url及tmpl等需定义好input标签);2关键字定义 | 
 |  |  |           params.put("fileType",1); | 
 |  |  |           params.put("needQifengSign",1); | 
 |  |  |           params.put("notifyUrl",notifyUrl); | 
 |  |  | 
 |  |  |           sReq.setIdentityCard(creditCoe);//营业执照号 | 
 |  |  |           sReq.setEmail(email); //在君子签注册认证的邮箱 | 
 |  |  | //        sReq.setChapteJson("[{\"page\":0,\"chaptes\":[{\"offsetX\":0.12,\"offsetY\":0.23}]},{\"page\":1,\"chaptes\":[{\"offsetX\":0.45,\"offsetY\":0.67}]}]"); | 
 |  |  | //          sReq.setChapteJson(postionJson); | 
 |  |  |           sReq.setSearchKey(postionJson); | 
 |  |  | //          sReq.setChapteJson(postionJson);//表单域定位 对应positionType=1 | 
 |  |  | //          sReq.setSearchKey(postionJson);//关键字 对应positionType=2 | 
 |  |  |           sReq.setSignId(singId); | 
 |  |  |           sReq.setNoNeedVerify(1); | 
 |  |  |           signatories.add(sReq); | 
 |  |  | 
 |  |  |     /** | 
 |  |  |      * 发起签约 | 
 |  |  |      * @param name | 
 |  |  |      * @param fileUrl | 
 |  |  |      * @param file | 
 |  |  |      * @param creditCoe | 
 |  |  |      * @param email | 
 |  |  | 
 |  |  |           params.put("serverCa",1); //使用云证书 | 
 |  |  |           params.put("file",new File(file)); | 
 |  |  |           params.put("dealType",5); //指定合同文件签署方式 5 为部分自动签 | 
 |  |  |           params.put("positionType",2); //指定通过表单域方式设置签字位置 | 
 |  |  |           params.put("positionType",0); //指定通过表单域方式设置签字位置 | 
 |  |  |           params.put("fileType",0); | 
 |  |  |           params.put("needQifengSign",1); | 
 |  |  |           params.put("notifyUrl",notifyUrl); | 
 |  |  | 
 |  |  |           sReq.setEmail(email); //在君子签注册认证的邮箱 | 
 |  |  | //        sReq.setChapteJson("[{\"page\":0,\"chaptes\":[{\"offsetX\":0.12,\"offsetY\":0.23}]},{\"page\":1,\"chaptes\":[{\"offsetX\":0.45,\"offsetY\":0.67}]}]"); | 
 |  |  | //          sReq.setChapteJson(postionJson); | 
 |  |  |           sReq.setSearchKey(postionJson); | 
 |  |  | //          sReq.setSearchKey(postionJson); | 
 |  |  |           sReq.setSignId(singId); | 
 |  |  |           sReq.setSearchConvertExtend("{\"fixX\":-80,\"fixY\":-80}"); | 
 |  |  |           sReq.setNoNeedVerify(1); | 
 |  |  | 
 |  |  |      * @param creditCode | 
 |  |  |      */ | 
 |  |  |     public String signLink(String applyNo,String name,String creditCode) { | 
 |  |  |         try {    initParams(); | 
 |  |  |         try { | 
 |  |  |             //延迟2秒 | 
 |  |  | //            Thread.sleep(2*1000); | 
 |  |  |             initParams(); | 
 |  |  |             Map<String, Object> params = bodyParams; | 
 |  |  |             String url = SERVICE_URL + "/v2/sign/link"; | 
 |  |  |             params.put("applyNo",applyNo); //发起合同签署接口返回的APL编号 |