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
@@ -71,7 +71,6 @@ async def list_customers(
list_stmt = list_stmt.where(*conditions)
list_stmt = (
list_stmt.order_by(
sa.nullslast(Customer.last_chat_time.desc()),
Customer.friend_id.asc(),
)
.limit(page_size)