diff --git a/app/src/main/java/com/huanchengfly/tieba/post/api/interfaces/ITiebaApi.kt b/app/src/main/java/com/huanchengfly/tieba/post/api/interfaces/ITiebaApi.kt index f14c3205..b76d4d8d 100644 --- a/app/src/main/java/com/huanchengfly/tieba/post/api/interfaces/ITiebaApi.kt +++ b/app/src/main/java/com/huanchengfly/tieba/post/api/interfaces/ITiebaApi.kt @@ -891,7 +891,7 @@ interface ITiebaApi { * @param keyword 关键词 */ fun searchForum( - keyword: String + keyword: String, ): Call /** @@ -906,7 +906,7 @@ interface ITiebaApi { keyword: String, page: Int, order: SearchThreadOrder, - filter: SearchThreadFilter + filter: SearchThreadFilter, ): Call /** diff --git a/app/src/main/java/com/huanchengfly/tieba/post/api/retrofit/interfaces/WebTiebaApi.kt b/app/src/main/java/com/huanchengfly/tieba/post/api/retrofit/interfaces/WebTiebaApi.kt index c9162f89..dd0f56b8 100644 --- a/app/src/main/java/com/huanchengfly/tieba/post/api/retrofit/interfaces/WebTiebaApi.kt +++ b/app/src/main/java/com/huanchengfly/tieba/post/api/retrofit/interfaces/WebTiebaApi.kt @@ -140,7 +140,6 @@ interface WebTiebaApi { @retrofit2.http.Header("cookie") cookie: String ): Flow - @GET("/mo/q/search/forum") fun searchForum( @Query("word") keyword: String diff --git a/app/src/main/java/com/huanchengfly/tieba/post/ui/page/subposts/SubPostsPage.kt b/app/src/main/java/com/huanchengfly/tieba/post/ui/page/subposts/SubPostsPage.kt index c155f3e4..a3951336 100644 --- a/app/src/main/java/com/huanchengfly/tieba/post/ui/page/subposts/SubPostsPage.kt +++ b/app/src/main/java/com/huanchengfly/tieba/post/ui/page/subposts/SubPostsPage.kt @@ -334,7 +334,7 @@ internal fun SubPostsContent( forumId = fid, forumName = forumName, threadId = threadId, - postId = postId + postId = postId, ) ) }