Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform
Commits
702ff965
Commit
702ff965
authored
Jul 12, 2019
by
周健威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
bce414fe
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
CommonLogService.java
.../github/wxiaoqi/security/common/log/CommonLogService.java
+1
-1
CommonLogServiceImpl.java
...xiaoqi/security/common/log/Impl/CommonLogServiceImpl.java
+1
-1
XxLogInterceptor.java
.../github/wxiaoqi/security/common/log/XxLogInterceptor.java
+1
-1
No files found.
ace-common/src/main/java/com/github/wxiaoqi/security/common/log/CommonLogService.java
View file @
702ff965
...
@@ -35,7 +35,7 @@ public interface CommonLogService {
...
@@ -35,7 +35,7 @@ public interface CommonLogService {
* @param xxLogEntity
* @param xxLogEntity
* @param result
* @param result
*/
*/
void
initCommonLogLastPart
(
XxLogEntity
xxLogEntity
,
BaseResponse
result
);
void
initCommonLogLastPart
(
XxLogEntity
xxLogEntity
,
Object
result
);
/**
/**
* 初始化日志后半部分(String)
* 初始化日志后半部分(String)
...
...
ace-common/src/main/java/com/github/wxiaoqi/security/common/log/Impl/CommonLogServiceImpl.java
View file @
702ff965
...
@@ -103,7 +103,7 @@ public class CommonLogServiceImpl implements CommonLogService {
...
@@ -103,7 +103,7 @@ public class CommonLogServiceImpl implements CommonLogService {
}
}
@Override
@Override
public
void
initCommonLogLastPart
(
XxLogEntity
xxLogEntity
,
BaseResponse
result
)
{
public
void
initCommonLogLastPart
(
XxLogEntity
xxLogEntity
,
Object
result
)
{
initCommonLogLastPart
(
xxLogEntity
,
JSON
.
toJSONString
(
result
));
initCommonLogLastPart
(
xxLogEntity
,
JSON
.
toJSONString
(
result
));
}
}
...
...
ace-common/src/main/java/com/github/wxiaoqi/security/common/log/XxLogInterceptor.java
View file @
702ff965
...
@@ -64,7 +64,7 @@ public class XxLogInterceptor{
...
@@ -64,7 +64,7 @@ public class XxLogInterceptor{
if
(
result
instanceof
JSONObject
)
{
if
(
result
instanceof
JSONObject
)
{
commonLogService
.
initCommonLogLastPart
(
xxLogEntity
,
((
JSONObject
)
result
).
toJSONString
());
commonLogService
.
initCommonLogLastPart
(
xxLogEntity
,
((
JSONObject
)
result
).
toJSONString
());
}
else
{
}
else
{
commonLogService
.
initCommonLogLastPart
(
xxLogEntity
,
(
BaseResponse
)
result
);
commonLogService
.
initCommonLogLastPart
(
xxLogEntity
,
result
);
}
}
}
catch
(
BaseException
e
){
}
catch
(
BaseException
e
){
commonLogService
.
initCommonLogLastPart
(
xxLogEntity
,
ObjectRestResponse
.
createFailedResult
(
e
.
getStatus
(),
e
.
getMessage
()));
commonLogService
.
initCommonLogLastPart
(
xxLogEntity
,
ObjectRestResponse
.
createFailedResult
(
e
.
getStatus
(),
e
.
getMessage
()));
...
...
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