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
胡园园
yanxuan-qc-change-system
Commits
3c23eb32
Commit
3c23eb32
authored
Nov 30, 2022
by
jx-art
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
判断BUG修改~
parent
04da95c0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
EmailServiceImpl.java
...ange/integration/email/service/impl/EmailServiceImpl.java
+2
-1
ChangeConfigController.java
...yanxuan/change/web/controller/ChangeConfigController.java
+1
-1
No files found.
yanxuan-qc-change-system-integration/src/main/java/com/netease/mail/yanxuan/change/integration/email/service/impl/EmailServiceImpl.java
View file @
3c23eb32
...
...
@@ -16,6 +16,7 @@ import java.io.File;
import
java.util.Arrays
;
import
java.util.Collection
;
import
java.util.List
;
import
java.util.Objects
;
import
java.util.stream.Collectors
;
@Service
...
...
@@ -43,7 +44,7 @@ public class EmailServiceImpl implements IEmailService {
}
String
subject
=
factor
.
getSubject
();
//标题参数处理
if
(
subjectParams
!=
null
||
subjectParams
.
size
()
!=
0
){
if
(
subjectParams
!=
null
){
subject
=
String
.
format
(
subject
,
subjectParams
.
toArray
());
}
uasClient
.
sendEmail
(
subject
,
content
,
toList
,
ccList
,
null
);
...
...
yanxuan-qc-change-system-web/src/main/java/com/netease/mail/yanxuan/change/web/controller/ChangeConfigController.java
View file @
3c23eb32
...
...
@@ -131,7 +131,7 @@ public class ChangeConfigController {
map
.
put
(
"restsChangeCommander"
,
"转交后责任人名称"
);
map
.
put
(
"restsChangeCommanderEmail"
,
"转交后责任人邮箱"
);
emailFactor
.
setData
(
map
);
iEmailService
.
sendEmail
(
strings
,
null
,
emailFactor
,
null
);
iEmailService
.
sendEmail
(
strings
,
null
,
emailFactor
,
list
);
}
...
...
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