Merge pull request #509 from DevDengChao/fix/unspecified-sex

修复性别未知时的枚举值与 member_user.sex 默认值不一致的问题
This commit is contained in:
芋道源码 2024-05-11 21:09:07 +08:00 committed by GitHub
commit 30941e3f3e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,13 +11,12 @@ import lombok.Getter;
@Getter
@AllArgsConstructor
public enum SexEnum {
/** 男 */
MALE(1),
/** 女 */
FEMALE(2),
/* 未知 */
UNKNOWN(3);
UNKNOWN(0);
/**
* 性别