Commit 18a64b91 by levphon

通知服务

1 parent 0ddcf6f4
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<packaging>war</packaging> <packaging>war</packaging>
<artifactId>glsx-ne-shield-notifycenter</artifactId> <artifactId>ne-shield-notifycenter</artifactId>
<dependencies> <dependencies>
<dependency> <dependency>
......
#项目名称 #项目名称
spring.application.name=glsx-ne-shield-notifycenter spring.application.name=ne-shield-notifycenter
#日志路径(logback-spring.xml读取,不要加入配置中心) #日志路径(logback-spring.xml读取,不要加入配置中心)
logging.path=/data/java_log/jetty/${spring.application.name}/${spring.application.name}.log logging.path=/data/java_log/jetty/${spring.application.name}/${spring.application.name}.log
......
...@@ -55,7 +55,7 @@ public class NotifyApplicationTests { ...@@ -55,7 +55,7 @@ public class NotifyApplicationTests {
List<Map<String, String>> filepaths = Lists.newArrayList(); List<Map<String, String>> filepaths = Lists.newArrayList();
Map<String, String> girl1 = Maps.newHashMap(); Map<String, String> girl1 = Maps.newHashMap();
girl1.put("filename", "girl1.jpg"); girl1.put("filename", "girl1.jpg");
girl1.put("filepath", "https://pic.netbian.com/uploads/allimg/220215/004859-1644857339de97.jpg"); girl1.put("filepath", "https://pic.netbian.com/uploads/allimg/211115/232008-1636989608f1ca.jpg");
filepaths.add(girl1); filepaths.add(girl1);
mailService.sendAttachmentsMail("levphon@vip.qq.com", "notifycenter test" + DateUtils.format(new Date()), "MAIL_TEMPLATE_ORDER_PAID_NOTIFY_OPERATOR", filepaths); mailService.sendAttachmentsMail("levphon@vip.qq.com", "notifycenter test" + DateUtils.format(new Date()), "MAIL_TEMPLATE_ORDER_PAID_NOTIFY_OPERATOR", filepaths);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!