update : change totalPages to count, and remove totalItems

This commit is contained in:
2026-08-13 16:05:39 +08:00
parent 7c0c7f96e1
commit 32d0594e84

View File

@@ -59,8 +59,7 @@ data class PagingData<T>(
.div(pageSize)
).roundToLong()
)
put("totalItems", JsonPrimitive(itemCount))
put("totalPages", JsonPrimitive(totalPages))
put("count", JsonPrimitive(totalPages))
}
}
}