Commit 6419080b by liyanlin

fix

parent fdba55ed
......@@ -63,6 +63,7 @@ public class RequestBakRequestWrapper extends HttpServletRequestWrapper {
.userAgent(UserAgentUtil.getDevice(request.getHeader("User-Agent")))
.url(request.getRequestURI())
.input(cachedContent.toByteArray())
.params(request.getParameterMap())
.build();
logService.insert(log);
}catch (Exception ex){
......
......@@ -13,6 +13,7 @@ import org.springframework.data.mongodb.core.mapping.MongoId;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Map;
/**
* @Author: li.yanlin
......@@ -42,5 +43,7 @@ public class OperationLog implements Serializable {
private byte[] input;
private Map<String, String[]> params;
private LocalDateTime createTime;
}
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