yonge 5 years ago
parent
commit
9ae0c8a22f

+ 4 - 4
mec-thirdparty/src/main/java/com/ym/mec/thirdparty/eseal/provider/TsignPlugin.java

@@ -31,10 +31,10 @@ import com.ym.mec.thirdparty.exception.ThirdpartyException;
 @Service
 public class TsignPlugin implements ESealPlugin, InitializingBean, DisposableBean {
 
-	@Value("${eseal.tsign.projectid:1111563517}")
+	@Value("${eseal.tsign.projectid:4438776254}")
 	public String projectId; // = "1111563517";
 
-	@Value("${eseal.tsign.projectSecret:95439b0863c241c63a861b87d1e647b7}")
+	@Value("${eseal.tsign.projectSecret:a94cf63d6361084d232f345d71321691}")
 	public String projectSecret; // = "95439b0863c241c63a861b87d1e647b7";
 
 	@Value("${eseal.tsign.apisUrl:http://smlitsm.tsign.cn:8080/tgmonitor/rest/app!getAPIInfo2}")
@@ -54,12 +54,12 @@ public class TsignPlugin implements ESealPlugin, InitializingBean, DisposableBea
 		projectconfig.setItsmApiUrl(apisUrl);
 		Result result = ServiceClientManager.registClient(projectconfig, null, null);
 		if (result.getErrCode() != 0) {
-			//throw new ThirdpartyException("e签宝客户端注册失败");
+			throw new ThirdpartyException("e签宝客户端注册失败");
 		}
 
 		serviceClient = ServiceClientManager.get(projectId);
 		if (serviceClient == null) {
-			//throw new ThirdpartyException("获取e签宝客户端失败");
+			throw new ThirdpartyException("获取e签宝客户端失败");
 		}
 	}