"src/main/vscode:/vscode.git/clone" did not exist on "bad12870f608cef8d2fd1a92f00d4b514ec05eb9"
Commit c680ec4e authored by ZhengJie's avatar ZhengJie
Browse files

[代码完善](v2.5): update EmailServiceImpl.java

close https://github.com/elunez/eladmin/issues/478
parent ae171c02
......@@ -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("请先配置,再操作");
}
// 封装
......
Supports Markdown
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