|  |  |  | 
|---|
|  |  |  | //          params.put("file",file); | 
|---|
|  |  |  | params.put("url",fileUrl); | 
|---|
|  |  |  | params.put("dealType",5); //指定合同文件签署方式 5 为部分自动签 | 
|---|
|  |  |  | params.put("positionType",1); //指定通过表单域方式设置签字位置 | 
|---|
|  |  |  | params.put("positionType",2); //指定通过表单域方式设置签字位置 | 
|---|
|  |  |  | params.put("fileType",1); | 
|---|
|  |  |  | params.put("needQifengSign",1); | 
|---|
|  |  |  | params.put("notifyUrl",notifyUrl); | 
|---|
|  |  |  | 
|---|
|  |  |  | sReq.setNoNeedVerify(1); | 
|---|
|  |  |  | signatories.add(sReq); | 
|---|
|  |  |  | params.put("signatories",signatories.toJSONString()); | 
|---|
|  |  |  | System.out.println(signatories.toJSONString()); | 
|---|
|  |  |  | System.out.println("================"+JSONObject.toJSONString(params)); | 
|---|
|  |  |  | String str= HttpClientUtils.init().getPost(url,null,params,true); | 
|---|
|  |  |  | System.out.println(str); | 
|---|
|  |  |  | saveInterfaceLog(url,"【电子签】发起签约",JSONObject.toJSONString(params),str); | 
|---|
|  |  |  | 
|---|
|  |  |  | //          sReq.setChapteJson(postionJson); | 
|---|
|  |  |  | sReq.setSearchKey(postionJson); | 
|---|
|  |  |  | sReq.setSignId(singId); | 
|---|
|  |  |  | sReq.setSearchConvertExtend("{\"fixX\":10,\"fixY\":-50}"); | 
|---|
|  |  |  | sReq.setNoNeedVerify(1); | 
|---|
|  |  |  | signatories.add(sReq); | 
|---|
|  |  |  | params.put("signatories",signatories.toJSONString()); | 
|---|