|
@@ -228,6 +228,9 @@ public class TsignPlugin implements ESealPlugin, InitializingBean, DisposableBea
|
|
|
* @return
|
|
|
*/
|
|
|
public boolean organSign(String sealData, String srcPdfPath, String destPdfPath) {
|
|
|
+ if (true){
|
|
|
+ return true;
|
|
|
+ }
|
|
|
PosBean posBean = new PosBean();
|
|
|
// 签章类型,Single-单页签章、Multi-多页签章、Edges-骑缝章、Key-关键字签章
|
|
|
SignType signType = SignType.Key;
|
|
@@ -262,7 +265,9 @@ public class TsignPlugin implements ESealPlugin, InitializingBean, DisposableBea
|
|
|
* @return
|
|
|
*/
|
|
|
public boolean userSign(String accountId, String sealData, String srcPdfPath, String destPdfPath) {
|
|
|
-
|
|
|
+ if (true){
|
|
|
+ return true;
|
|
|
+ }
|
|
|
SignPDFFileBean signPDFStreamBean = new SignPDFFileBean();
|
|
|
// C:test_signed.pdf为平台自身签署后路径
|
|
|
signPDFStreamBean.setSrcPdfFile(srcPdfPath);
|