Commit 8c2ef54b authored by Quxl's avatar Quxl

x

parent a035e879
...@@ -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();
......
...@@ -25,9 +25,9 @@ spring.datasource.initial-size=10 ...@@ -25,9 +25,9 @@ spring.datasource.initial-size=10
spring.datasource.max-active=100 spring.datasource.max-active=100
spring.datasource.min-idle=10 spring.datasource.min-idle=10
com.egolm.email.smtp.host=smtphz.qiye.163.com com.egolm.email.smtp.host=smtp.qiye.aliyun.com
com.egolm.email.smtp.port=994 com.egolm.email.smtp.port=465
com.egolm.email.smtp.is_auth=true com.egolm.email.smtp.is_auth=true
com.egolm.email.smtp.from=filmpassword@siff.com com.egolm.email.smtp.from=qu.xinliang@linkfern.com
com.egolm.email.smtp.username=filmpassword@siff.com com.egolm.email.smtp.username=qu.xinliang@linkfern.com
com.egolm.email.smtp.password=siffstvf2018 com.egolm.email.smtp.password=Linkfern#2019
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment