From 4ff738f377504fe8f2296df18cf7d0123641cdd9 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期四, 17 十月 2019 22:11:03 +0800
Subject: [PATCH] 优化调用微服务时的报错
---
java110-core/src/main/java/com/java110/core/context/BusinessServiceDataFlow.java | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/java110-core/src/main/java/com/java110/core/context/BusinessServiceDataFlow.java b/java110-core/src/main/java/com/java110/core/context/BusinessServiceDataFlow.java
index c30959a..0038a88 100644
--- a/java110-core/src/main/java/com/java110/core/context/BusinessServiceDataFlow.java
+++ b/java110-core/src/main/java/com/java110/core/context/BusinessServiceDataFlow.java
@@ -1,10 +1,11 @@
package com.java110.core.context;
-import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
-import com.java110.common.constant.ResponseConstant;
-import com.java110.common.exception.InitDataFlowContextException;
+import com.java110.utils.constant.ResponseConstant;
+import com.java110.utils.exception.InitDataFlowContextException;
import com.java110.entity.center.Business;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
import java.util.ArrayList;
import java.util.Date;
@@ -16,8 +17,7 @@
* Created by wuxw on 2018/5/18.
*/
public class BusinessServiceDataFlow extends AbstractDataFlowContext {
-
-
+ private final static Logger logger = LoggerFactory.getLogger(BusinessServiceDataFlow.class);
private String bId;
@@ -25,7 +25,7 @@
private Map<String,Object> paramOut;
@Override
- public Orders getOrder() {
+ public IOrders getOrder() {
return this;
}
@@ -57,6 +57,7 @@
this.requestHeaders.putAll(headerAll);
}
}catch (Exception e){
+ logger.error("鍒濆鍖栧璞� BusinessServiceDataFlow 澶辫触",e);
throw new InitDataFlowContextException(ResponseConstant.RESULT_PARAM_ERROR,"鍒濆鍖栧璞� BusinessServiceDataFlow 澶辫触 "+reqInfo);
}
return this;
--
Gitblit v1.8.0