Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
sentinel
Project
Project
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
曲欣亮
sentinel
Commits
d475ea2f
Commit
d475ea2f
authored
May 30, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
8c2ef54b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
HttpServiceImpl.java
.../com/egolm/sentinel/web/service/impl/HttpServiceImpl.java
+1
-1
No files found.
src/main/java/com/egolm/sentinel/web/service/impl/HttpServiceImpl.java
View file @
d475ea2f
...
@@ -62,7 +62,7 @@ public class HttpServiceImpl implements HttpService {
...
@@ -62,7 +62,7 @@ public class HttpServiceImpl implements HttpService {
TMessage
message
=
new
TMessage
();
TMessage
message
=
new
TMessage
();
message
.
setTitle
(
"系统错误提示:"
+
item
.
getItem_desc
());
message
.
setTitle
(
"系统错误提示:"
+
item
.
getItem_desc
());
message
.
setResponse_body
(
responseBody
);
message
.
setResponse_body
(
responseBody
);
message
.
setBody
(
"此邮件为监控系统自动发送,用于提示系统异常情况, "
+
"系统错误:"
+
item
.
getItem_desc
()
+
"\n时间:"
+
DateUtil
.
format
(
new
Date
())
+
"\nURL:"
+
item
.
getRequest_url
());
message
.
setBody
(
"此邮件为监控系统自动发送,用于提示系统异常情况,
网路不畅通的情况下有可能误报, 请知悉, 谢谢
"
+
"系统错误:"
+
item
.
getItem_desc
()
+
"\n时间:"
+
DateUtil
.
format
(
new
Date
())
+
"\nURL:"
+
item
.
getRequest_url
());
common
.
save
(
message
);
common
.
save
(
message
);
String
email
=
item
.
getEmail
();
String
email
=
item
.
getEmail
();
String
mobile
=
item
.
getMobile
();
String
mobile
=
item
.
getMobile
();
...
...
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