|
@@ -57,14 +57,14 @@ public class TsignPlugin implements ESealPlugin, InitializingBean, DisposableBea
|
|
projectconfig.setProjectSecret(projectSecret);
|
|
projectconfig.setProjectSecret(projectSecret);
|
|
projectconfig.setItsmApiUrl(apisUrl);
|
|
projectconfig.setItsmApiUrl(apisUrl);
|
|
Result result = ServiceClientManager.registClient(projectconfig, null, null);
|
|
Result result = ServiceClientManager.registClient(projectconfig, null, null);
|
|
- /*if (result.getErrCode() != 0) {
|
|
|
|
|
|
+ if (result.getErrCode() != 0) {
|
|
throw new ThirdpartyException("e签宝客户端注册失败:{}", result.getMsg());
|
|
throw new ThirdpartyException("e签宝客户端注册失败:{}", result.getMsg());
|
|
}
|
|
}
|
|
|
|
|
|
serviceClient = ServiceClientManager.get(projectId);
|
|
serviceClient = ServiceClientManager.get(projectId);
|
|
if (serviceClient == null) {
|
|
if (serviceClient == null) {
|
|
throw new ThirdpartyException("获取e签宝客户端失败");
|
|
throw new ThirdpartyException("获取e签宝客户端失败");
|
|
- }*/
|
|
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
@Override
|
|
@Override
|