From bfe09e26a6cad8b41b1579d3d01d7f9ccfad454e Mon Sep 17 00:00:00 2001 From: tanghc Date: Tue, 24 Sep 2019 19:46:42 +0800 Subject: [PATCH] 2.1.3 --- .../gitee/sop/gatewaycommon/gateway/ServerWebExchangeUtil.java | 1 + 1 file changed, 1 insertion(+) diff --git a/sop-common/sop-gateway-common/src/main/java/com/gitee/sop/gatewaycommon/gateway/ServerWebExchangeUtil.java b/sop-common/sop-gateway-common/src/main/java/com/gitee/sop/gatewaycommon/gateway/ServerWebExchangeUtil.java index 5db0f5ca..688db17e 100644 --- a/sop-common/sop-gateway-common/src/main/java/com/gitee/sop/gatewaycommon/gateway/ServerWebExchangeUtil.java +++ b/sop-common/sop-gateway-common/src/main/java/com/gitee/sop/gatewaycommon/gateway/ServerWebExchangeUtil.java @@ -88,6 +88,7 @@ public class ServerWebExchangeUtil { } else if (StringUtils.containsIgnoreCase(contentTypeStr, "multipart")) { // 如果是文件上传请求 HttpServletRequest fileUploadRequest = getFileUploadRequest(exchange, cachedBody); + setFileUploadRequest(exchange, fileUploadRequest); RequestUtil.UploadInfo uploadInfo = RequestUtil.getUploadInfo(fileUploadRequest); params = uploadInfo.getUploadParams(); apiParam.setUploadContext(uploadInfo.getUploadContext());