1、修改用户名

2、更改账号绑定邮箱地址
This commit is contained in:
2024-09-25 16:15:18 +08:00
parent b43f9baead
commit 2bc5fef175
13 changed files with 243 additions and 7 deletions

View File

@@ -23,7 +23,11 @@ public enum AuthenticationOperationTypeEnum {
/**
* 忘记密码
*/
FORGET_PWD;
FORGET_PWD,
/**
* 更改邮箱
*/
CHANGE_MAILBOX;
public static AuthenticationOperationTypeEnum of(String name) {
return Stream.of(AuthenticationOperationTypeEnum.values()).filter(v -> v.name().equals(name)).findFirst().orElse(null);