feat: ️ feat: 添加评论 CRUD 操作

This commit is contained in:
2025-07-26 16:26:14 +08:00
parent a805767030
commit 339d420918
5 changed files with 343 additions and 21 deletions

View File

@ -41,4 +41,5 @@ const (
var (
OrderByEnumPost = []string{OrderByCreatedAt, OrderByUpdatedAt, OrderByLikeCount, OrderByCommentCount, OrderByViewCount, OrderByHeat} // 帖子可用的排序方式
OrderByEnumComment = []string{OrderByCreatedAt, OrderByUpdatedAt, OrderByCommentCount} // 评论可用的排序方式
)