Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yanxuan-qc-change-system
Overview
Overview
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
yx-qc-change-flow
yanxuan-qc-change-system
Commits
0d305864
Commit
0d305864
authored
Nov 29, 2022
by
jx-art
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
邮件发送 线上测试
parent
dea2a0a1
Pipeline
#43196
passed with stages
in 1 minute 21 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
10 deletions
+16
-10
application.properties
...mbly/src/main/resources/config/dev/application.properties
+15
-9
ChangeConfigController.java
...yanxuan/change/web/controller/ChangeConfigController.java
+1
-1
No files found.
yanxuan-qc-change-system-assembly/src/main/resources/config/dev/application.properties
View file @
0d305864
...
@@ -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
yanxuan-qc-change-system-web/src/main/java/com/netease/mail/yanxuan/change/web/controller/ChangeConfigController.java
View file @
0d305864
...
@@ -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
.
sendEmail
1
(
"yxqc_release_flow"
,
"{\n"
+
iEmailService
.
sendEmail
2
(
"yxqc_release_flow"
,
"{\n"
+
" \"flowId\":\"工单ID\",\n"
+
" \"flowId\":\"工单ID\",\n"
+
" \"releaseId\":\"发起人账号\",\n"
+
" \"releaseId\":\"发起人账号\",\n"
+
" \"releaseName\":\"发起人姓名\",\n"
+
" \"releaseName\":\"发起人姓名\",\n"
+
...
...
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