Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bailuntec-cost
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
huluobin
bailuntec-cost
Commits
6419080b
Commit
6419080b
authored
Aug 10, 2021
by
liyanlin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
fdba55ed
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
RequestBakRequestWrapper.java
...om/blt/other/common/wrapper/RequestBakRequestWrapper.java
+1
-0
OperationLog.java
...ain/java/com/blt/other/module/log/model/OperationLog.java
+3
-0
No files found.
cost-service/src/main/java/com/blt/other/common/wrapper/RequestBakRequestWrapper.java
View file @
6419080b
...
@@ -63,6 +63,7 @@ public class RequestBakRequestWrapper extends HttpServletRequestWrapper {
...
@@ -63,6 +63,7 @@ public class RequestBakRequestWrapper extends HttpServletRequestWrapper {
.
userAgent
(
UserAgentUtil
.
getDevice
(
request
.
getHeader
(
"User-Agent"
)))
.
userAgent
(
UserAgentUtil
.
getDevice
(
request
.
getHeader
(
"User-Agent"
)))
.
url
(
request
.
getRequestURI
())
.
url
(
request
.
getRequestURI
())
.
input
(
cachedContent
.
toByteArray
())
.
input
(
cachedContent
.
toByteArray
())
.
params
(
request
.
getParameterMap
())
.
build
();
.
build
();
logService
.
insert
(
log
);
logService
.
insert
(
log
);
}
catch
(
Exception
ex
){
}
catch
(
Exception
ex
){
...
...
cost-service/src/main/java/com/blt/other/module/log/model/OperationLog.java
View file @
6419080b
...
@@ -13,6 +13,7 @@ import org.springframework.data.mongodb.core.mapping.MongoId;
...
@@ -13,6 +13,7 @@ import org.springframework.data.mongodb.core.mapping.MongoId;
import
java.io.Serializable
;
import
java.io.Serializable
;
import
java.time.LocalDateTime
;
import
java.time.LocalDateTime
;
import
java.util.Map
;
/**
/**
* @Author: li.yanlin
* @Author: li.yanlin
...
@@ -42,5 +43,7 @@ public class OperationLog implements Serializable {
...
@@ -42,5 +43,7 @@ public class OperationLog implements Serializable {
private
byte
[]
input
;
private
byte
[]
input
;
private
Map
<
String
,
String
[]>
params
;
private
LocalDateTime
createTime
;
private
LocalDateTime
createTime
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment