|
@@ -120,7 +120,12 @@ public class SignPfxFileServiceImpl extends BaseServiceImpl<SignPfxFileMapper, S
|
|
|
makeSeal.setSealName(EVisaConstant.SIGN_SEAL_NAME + user.getAccount());
|
|
|
makeSeal.setSealPassword(user.getId().toString().substring(0, EVisaConstant.USER_ID_SUB));
|
|
|
//注册印模
|
|
|
- return R.data(this.pfxMakeSeal(makeSeal, "个人签名印章", id.toString()));
|
|
|
+ Boolean seal = this.pfxMakeSeal(makeSeal, "个人签名印章", id.toString());
|
|
|
+ if (seal == true){
|
|
|
+ return R.data(true);
|
|
|
+ }else {
|
|
|
+ return R.data(-1, false, "创建印模失败");
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
} else {
|
|
@@ -154,7 +159,7 @@ public class SignPfxFileServiceImpl extends BaseServiceImpl<SignPfxFileMapper, S
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- return R.data(false);
|
|
|
+ return R.data(-1, false, "注册失败");
|
|
|
}
|
|
|
|
|
|
/**
|