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
ba4c90bd
Commit
ba4c90bd
authored
Nov 23, 2019
by
jiaorz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加admin日志拦截
parent
cd2cb375
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
GlobalExceptionHandler.java
...iaoqi/security/common/handler/GlobalExceptionHandler.java
+0
-9
No files found.
ace-common/src/main/java/com/github/wxiaoqi/security/common/handler/GlobalExceptionHandler.java
View file @
ba4c90bd
...
@@ -86,15 +86,6 @@ public class GlobalExceptionHandler extends ResponseEntityExceptionHandler {
...
@@ -86,15 +86,6 @@ public class GlobalExceptionHandler extends ResponseEntityExceptionHandler {
if
(
0
==
ex
.
getStatus
())
{
if
(
0
==
ex
.
getStatus
())
{
response
.
setStatus
(
500
);
response
.
setStatus
(
500
);
}
}
Map
<
String
,
String
>
map
=
new
HashMap
<>();
map
.
put
(
"toUser"
,
emailLogAccount
);
map
.
put
(
"subject"
,
emailLogTitle
);
map
.
put
(
"content"
,
ex
.
toString
()
+
":"
+
ex
.
getMessage
());
try
{
HttpUtils
.
doPost
(
emailLogHost
,
"/api/universal/mail/app/unauth/send"
,
map
);
}
catch
(
Exception
e
)
{
logger
.
error
(
e
.
getMessage
());
}
return
new
BaseResponse
(
ex
.
getStatus
(),
ex
.
getMessage
());
return
new
BaseResponse
(
ex
.
getStatus
(),
ex
.
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