mirror of https://github.com/jeecgboot/jeecg-boot
---author:scott---date:2023-05-10---for:yml属性为空导致项目启动报错,改造后支持单体非system独立启动---
parent
ba40a797df
commit
eaf3e32fdd
|
@ -58,6 +58,7 @@ public class EmailSendMsgHandle implements ISendMsgHandle {
|
|||
//update-begin-author:taoyan date:20200811 for:配置类数据获取
|
||||
if(oConvertUtils.isEmpty(emailFrom)){
|
||||
StaticConfig staticConfig = SpringContextUtils.getBean(StaticConfig.class);
|
||||
log.info("邮件配置 emailFrom:" + emailFrom);
|
||||
setEmailFrom(staticConfig.getEmailFrom());
|
||||
}
|
||||
//update-end-author:taoyan date:20200811 for:配置类数据获取
|
||||
|
|
Loading…
Reference in New Issue