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
8c2ef54b
Commit
8c2ef54b
authored
May 30, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
a035e879
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
HttpServiceImpl.java
.../com/egolm/sentinel/web/service/impl/HttpServiceImpl.java
+1
-1
application-pro.properties
src/main/resources/application-pro.properties
+5
-5
No files found.
src/main/java/com/egolm/sentinel/web/service/impl/HttpServiceImpl.java
View file @
8c2ef54b
...
...
@@ -62,7 +62,7 @@ public class HttpServiceImpl implements HttpService {
TMessage
message
=
new
TMessage
();
message
.
setTitle
(
"系统错误提示:"
+
item
.
getItem_desc
());
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
);
String
email
=
item
.
getEmail
();
String
mobile
=
item
.
getMobile
();
...
...
src/main/resources/application-pro.properties
View file @
8c2ef54b
...
...
@@ -25,9 +25,9 @@ spring.datasource.initial-size=10
spring.datasource.max-active
=
100
spring.datasource.min-idle
=
10
com.egolm.email.smtp.host
=
smtp
hz.qiye.163
.com
com.egolm.email.smtp.port
=
994
com.egolm.email.smtp.host
=
smtp
.qiye.aliyun
.com
com.egolm.email.smtp.port
=
465
com.egolm.email.smtp.is_auth
=
true
com.egolm.email.smtp.from
=
filmpassword@siff
.com
com.egolm.email.smtp.username
=
filmpassword@siff
.com
com.egolm.email.smtp.password
=
siffstvf2018
com.egolm.email.smtp.from
=
qu.xinliang@linkfern
.com
com.egolm.email.smtp.username
=
qu.xinliang@linkfern
.com
com.egolm.email.smtp.password
=
Linkfern#2019
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