BUGFIX:用户注册后重发验证码,验证不通过

This commit is contained in:
2025-06-24 19:30:20 +08:00
parent d6c5d0e95d
commit 13514b277b
3 changed files with 16 additions and 7 deletions

View File

@@ -31,7 +31,9 @@ public enum AuthenticationOperationTypeEnum {
/**
* 填写用户国家和职业
*/
UPDATE_USERINFO;
UPDATE_USERINFO,
REGISTER;
public static AuthenticationOperationTypeEnum of(String name) {
return Stream.of(AuthenticationOperationTypeEnum.values()).filter(v -> v.name().equals(name)).findFirst().orElse(null);