feature/v2.8.3 (#269)

1.优化垃圾邮件处理
2.升级所有依赖,go版本升级到1.24
This commit is contained in:
Jinnrry authored and GitHub committed 2025-04-20 09:59:56 +08:00
1 parent 90d00db9e6
commit e194d6ecfd
17 files changed
+257 -120

No files matched your search

+4 -2
View File
@@ -50,8 +50,8 @@ func genSQL(ctx *context.Context, count bool, tagInfo dto.SearchTag, keyword str
if tagInfo.Status != -1 {
sql += " and ue.status =? "
sqlParams = append(sqlParams, tagInfo.Status)
} else {
sql += " and ue.status != 3"
} else if tagInfo.Status == -1 {
sql += " and ue.status = 0"
}
if tagInfo.Type != -1 {
@@ -62,6 +62,8 @@ func genSQL(ctx *context.Context, count bool, tagInfo dto.SearchTag, keyword str
if tagInfo.GroupId != -1 {
sql += " and ue.group_id=? "
sqlParams = append(sqlParams, tagInfo.GroupId)
} else {
sql += " and ue.group_id=0 "
}
if keyword != "" {