1 parent
e194d6ecfd
commit
fcc863e8b8
18 files changed
+334
-306
No files matched your search
@@ -51,7 +51,9 @@ func genSQL(ctx *context.Context, count bool, tagInfo dto.SearchTag, keyword str
|
||||
sql += " and ue.status =? "
|
||||
sqlParams = append(sqlParams, tagInfo.Status)
|
||||
} else if tagInfo.Status == -1 {
|
||||
sql += " and ue.status = 0"
|
||||
if tagInfo.Type != 1 {
|
||||
sql += " and ue.status = 0"
|
||||
}
|
||||
}
|
||||
|
||||
if tagInfo.Type != -1 {
|
||||
|
||||
Reference in new issue
Block a user