add 用户增加邮箱密码字段,发送邮箱改为查询发件人的邮箱,没有邮箱或邮箱密码时,默认使用admin的邮箱
This commit is contained in:
+5
@@ -121,4 +121,9 @@ public class LoginUser {
|
||||
*/
|
||||
private String roleCode;
|
||||
|
||||
/**
|
||||
* 邮箱授权码
|
||||
*/
|
||||
private String emailPassword;
|
||||
|
||||
}
|
||||
|
||||
@@ -20,6 +20,9 @@ public class StaticConfig {
|
||||
@Value(value = "${spring.mail.username}")
|
||||
private String emailFrom;
|
||||
|
||||
@Value(value = "${spring.mail.host}")
|
||||
private String host;
|
||||
|
||||
|
||||
/*@Bean
|
||||
public void initStatic() {
|
||||
|
||||
Reference in New Issue
Block a user