This commit is contained in:
桀尼龟 2025-02-24 16:13:36 +08:00
parent fc2af96f89
commit 0c748958bc

View File

@ -634,9 +634,9 @@ func (a *AccountProvider) UserList(ctx context.Context, in *account.UserListRequ
if in.SubNum != "" {
modelObj.Where("sub_num like ? ", "%"+in.SubNum+"%")
}
if in.RealNameOrNot == 1 {
if in.RealNameOrNot == 2 {
modelObj.Where("status = 1 ") //未实名
} else if in.RealNameOrNot == 2 {
} else if in.RealNameOrNot == 1 {
modelObj.Where("status != 1 ") //已实名
}
if in.Name != "" {