Skip to content

Commit

Permalink
Merge pull request #509 from DevDengChao/fix/unspecified-sex
Browse files Browse the repository at this point in the history
修复性别未知时的枚举值与 member_user.sex 默认值不一致的问题
  • Loading branch information
YunaiV authored May 11, 2024
2 parents a8aead3 + 3da7885 commit 30941e3
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,12 @@
@Getter
@AllArgsConstructor
public enum SexEnum {

/** 男 */
MALE(1),
/** 女 */
FEMALE(2),
/* 未知 */
UNKNOWN(3);
UNKNOWN(0);

/**
* 性别
Expand Down

0 comments on commit 30941e3

Please sign in to comment.