Commit 9f05c8d5 authored by wujiang's avatar wujiang

修复发起合同

parent 2052b3f1
...@@ -177,7 +177,9 @@ public class QiyuesuoServiceImpl { ...@@ -177,7 +177,9 @@ public class QiyuesuoServiceImpl {
result = responseObj.getResult(); result = responseObj.getResult();
logger.info(JSON.toJSONString(responseObj)); logger.info(JSON.toJSONString(responseObj));
} else { } else {
logger.info("请求失败,错误码:{},错误信息:{}", responseObj.getCode(), responseObj.getMessage()); String error = "请求失败,错误码:"+responseObj.getCode()+",错误信息:"+responseObj.getMessage();
logger.info(error);
throw new BadRequest(error);
} }
DocumentAddResult documentAddResult = this.getDocumentAddResult(result.getId(), subject, templateParam, DocumentAddResult documentAddResult = this.getDocumentAddResult(result.getId(), subject, templateParam,
emplateId); emplateId);
...@@ -213,7 +215,7 @@ public class QiyuesuoServiceImpl { ...@@ -213,7 +215,7 @@ public class QiyuesuoServiceImpl {
List<Stamper> stampers = new ArrayList<>(); List<Stamper> stampers = new ArrayList<>();
stampers.add(stamper); stampers.add(stamper);
stampers.add(stamper2); stampers.add(stamper2);
//SdkResponse<Object> data = this.getSdkResponse(result.getId(), stampers); SdkResponse<Object> data = this.getSdkResponse(result.getId(), stampers);
return result.getId(); return result.getId();
} }
......
...@@ -50,11 +50,11 @@ spring.datasource.tdengine-service.connection-test-query: SELECT 1 ...@@ -50,11 +50,11 @@ spring.datasource.tdengine-service.connection-test-query: SELECT 1
## eureka properties: ## eureka properties:
eureka.instance.hostname=47.92.234.253 eureka.instance.hostname=10.20.1.160
eureka.client.serviceUrl.defaultZone=http://admin:a1234560@${eureka.instance.hostname}:10001/eureka/ eureka.client.serviceUrl.defaultZone=http://admin:a1234560@${eureka.instance.hostname}:10001/eureka/
## redis properties: ## redis properties:
spring.redis.database=1 spring.redis.database=1
spring.redis.host=47.92.234.253 spring.redis.host=10.20.1.210
spring.redis.port=6379 spring.redis.port=6379
spring.redis.password=yeejoin@2020 spring.redis.password=yeejoin@2020
...@@ -90,7 +90,7 @@ lettuce.timeout=10000 ...@@ -90,7 +90,7 @@ lettuce.timeout=10000
emqx.clean-session=true emqx.clean-session=true
emqx.client-id=${spring.application.name}-${random.int[1024,65536]} emqx.client-id=${spring.application.name}-${random.int[1024,65536]}
emqx.broker=tcp://47.92.234.253:1883 emqx.broker=tcp://10.20.1.210:2883
emqx.user-name=admin emqx.user-name=admin
emqx.password=public emqx.password=public
emqx.max-inflight=1000 emqx.max-inflight=1000
...@@ -125,7 +125,7 @@ amos.secret.key=qaz ...@@ -125,7 +125,7 @@ amos.secret.key=qaz
# if your service can't be access ,you can use this setting , you need change ip as your. # if your service can't be access ,you can use this setting , you need change ip as your.
#eureka.instance.prefer-ip-address=true #eureka.instance.prefer-ip-address=true
#eureka.instance.ip-address=172.16.3.122 #eureka.instance.ip-address=172.16.3.122
spring.activemq.broker-url=tcp://47.92.234.253:61616 spring.activemq.broker-url=tcp://10.20.1.210:61616
spring.activemq.user=admin spring.activemq.user=admin
spring.activemq.password=admin spring.activemq.password=admin
spring.jms.pub-sub-domain=false spring.jms.pub-sub-domain=false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment