新增趋势动态功能

实现了趋势动态功能,包括前端和后端支持。允许用户查看和获取趋势动态。
This commit is contained in:
2024-09-01 19:39:46 +08:00
parent f2a37d21ca
commit f8becdb7de
5 changed files with 63 additions and 12 deletions

View File

@@ -112,13 +112,15 @@ interface MomentService {
* @param author 作者ID,过滤条件
* @param timelineId 用户时间线ID,指定用户 ID 的时间线
* @param contentSearch 内容搜索,过滤条件
* @param trend 是否趋势动态
* @return 动态列表
*/
suspend fun getMoments(
pageNumber: Int,
author: Int? = null,
timelineId: Int? = null,
contentSearch: String? = null
contentSearch: String? = null,
trend: Boolean? = false
): ListContainer<MomentEntity>
/**