feat:优化表达方式效果,现在考虑count

This commit is contained in:
SengokuCola
2025-11-18 20:55:33 +08:00
parent e90513bf23
commit 3ed2ddeb91
2 changed files with 49 additions and 8 deletions

View File

@@ -139,6 +139,7 @@ class ExpressionSelector:
"last_active_time": expr.last_active_time,
"source_id": expr.chat_id,
"create_date": expr.create_date if expr.create_date is not None else expr.last_active_time,
"count": expr.count if getattr(expr, "count", None) is not None else 1,
}
for expr in style_query
]