Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Eladmin
Commits
c680ec4e
Commit
c680ec4e
authored
Sep 06, 2020
by
ZhengJie
Browse files
[代码完善](v2.5): update EmailServiceImpl.java
close
https://github.com/elunez/eladmin/issues/478
parent
ae171c02
Changes
1
Hide whitespace changes
Inline
Side-by-side
eladmin-tools/src/main/java/me/zhengjie/service/impl/EmailServiceImpl.java
View file @
c680ec4e
...
...
@@ -64,7 +64,7 @@ public class EmailServiceImpl implements EmailService {
@Override
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
void
send
(
EmailVo
emailVo
,
EmailConfig
emailConfig
){
if
(
emailConfig
==
null
){
if
(
emailConfig
.
getId
()
==
null
){
throw
new
BadRequestException
(
"请先配置,再操作"
);
}
// 封装
...
...
Write
Preview
Supports
Markdown
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