Commit 0d305864 by jx-art

邮件发送 线上测试

parent dea2a0a1
...@@ -10,10 +10,10 @@ spring.http.multipart.max-file-size=100MB ...@@ -10,10 +10,10 @@ spring.http.multipart.max-file-size=100MB
spring.http.multipart.max-request-size=100MB spring.http.multipart.max-request-size=100MB
# mysql # mysql
spring.datasource.driver-class-name=com.mysql.jdbc.Driver spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.url=jdbc:mysql://localhost:3306/change_config?useUnicode=true&characterEncoding=UTF-8&autoReconnet=true spring.datasource.url=jdbc:mysql://112.74.86.21/tb_yx_link?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&serverTimezone=Asia/Shanghai
spring.datasource.username=root spring.datasource.username=root
spring.datasource.password=abc123 spring.datasource.password=wangjiaxiang
#tomcat #tomcat
server.tomcat.max-threads=600 server.tomcat.max-threads=600
...@@ -27,12 +27,18 @@ server.tomcat.accesslog.pattern=%h %l %u %t "%r" %s %b %{X-Forwarded-For}i %D %{ ...@@ -27,12 +27,18 @@ server.tomcat.accesslog.pattern=%h %l %u %t "%r" %s %b %{X-Forwarded-For}i %D %{
mybatis.mapper-locations=classpath:mybatis/mapper/*.xml mybatis.mapper-locations=classpath:mybatis/mapper/*.xml
mybatis.configuration.cache-enabled=true mybatis.configuration.cache-enabled=true
mybatis.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl mybatis.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
mybatis.configuration.map-underscore-to-camel-case=true
# redis # redis
spring.redis.pool.max-active=50 spring.redis.host=localhost
spring.redis.host=127.0.0.1
spring.redis.port=6379
spring.redis.password= spring.redis.password=
spring.redis.pool.max-wait=10000 spring.redis.database=0
spring.redis.pool.max-idle=20 spring.redis.port=6379
spring.redis.timeout=20000 spring.redis.timeout=3000
spring.redis.jedis.pool.max-active=8
spring.redis.jedis.pool.max-wait=-1
spring.redis.jedis.pool.max-idle=500
spring.redis.jedis.pool.min-idle=0
spring.redis.lettuce.shutdown-timeout=0
...@@ -151,7 +151,7 @@ public class ChangeConfigController { ...@@ -151,7 +151,7 @@ public class ChangeConfigController {
ArrayList<String> strings = new ArrayList<>(); ArrayList<String> strings = new ArrayList<>();
logger.info("调用接口~~~~~~~~~~~~~~~~~~~~~~~~"); logger.info("调用接口~~~~~~~~~~~~~~~~~~~~~~~~");
strings.add("wb.tanglongwei@mesg.corp.netease.com"); strings.add("wb.tanglongwei@mesg.corp.netease.com");
iEmailService.sendEmail1("yxqc_release_flow","{\n" + iEmailService.sendEmail2("yxqc_release_flow","{\n" +
" \"flowId\":\"工单ID\",\n" + " \"flowId\":\"工单ID\",\n" +
" \"releaseId\":\"发起人账号\",\n" + " \"releaseId\":\"发起人账号\",\n" +
" \"releaseName\":\"发起人姓名\",\n" + " \"releaseName\":\"发起人姓名\",\n" +
......
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