java110
2022-06-16 5d167ea6e943dd1574e0e6ed70ff25b8d4830f61
java110-core/src/main/java/com/java110/core/context/ApiDataFlow.java
old mode 100644 new mode 100755
@@ -1,13 +1,9 @@
package com.java110.core.context;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.java110.common.constant.CommonConstant;
import com.java110.common.util.DateUtil;
import com.java110.common.util.StringUtil;
import com.java110.core.factory.GenerateCodeFactory;
import com.java110.dto.order.OrderDto;
import com.java110.utils.constant.CommonConstant;
import com.java110.entity.center.AppRoute;
import com.java110.entity.center.Business;
import org.springframework.http.ResponseEntity;
import java.util.ArrayList;
@@ -87,7 +83,7 @@
    }
    @Override
    public Orders getOrder() {
    public IOrders getOrder() {
        return this;
    }
@@ -136,6 +132,19 @@
            this.setRequestTime(headerAll.get(CommonConstant.HTTP_REQ_TIME));
            this.setUserId(headerAll.get(CommonConstant.HTTP_USER_ID));
            if (headerAll.containsKey(CommonConstant.APP_ID)) {
                this.setAppId(headerAll.get(CommonConstant.APP_ID));
            }
            if (headerAll.containsKey(CommonConstant.TRANSACTION_ID)) {
                this.setTransactionId(headerAll.get(CommonConstant.TRANSACTION_ID));
            }
            if (headerAll.containsKey(CommonConstant.REQUEST_TIME)) {
                this.setRequestTime(headerAll.get(CommonConstant.REQUEST_TIME));
            }
            if (headerAll.containsKey(CommonConstant.USER_ID)) {
                this.setUserId(headerAll.get(CommonConstant.USER_ID));
            }
            if (headerAll != null){
                this.requestHeaders.putAll(headerAll);
                this.requestCurrentHeaders.putAll(headerAll);