fix(api): 客户/群列表排序改为friend_id/room_id ASC(对齐云客API自然顺序)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
浅念
2026-08-15 14:14:24 +08:00
parent aa90d9d8f2
commit 854da6e566
3 changed files with 4 additions and 8 deletions
-1
View File
@@ -61,7 +61,6 @@ async def list_groups(
list_stmt = list_stmt.where(*conditions)
list_stmt = (
list_stmt.order_by(
sa.nullslast(ChatGroup.last_chat_time.desc()),
ChatGroup.room_id.asc(),
)
.limit(page_size)