|
|
@@ -193,12 +193,12 @@ func rCircleFriends(r *gin.RouterGroup) { |
|
|
|
r.POST("/cancelLike", friend_circle.CancelLike) // 取消点赞 |
|
|
|
r.POST("/share", friend_circle.Share) // 分享 |
|
|
|
|
|
|
|
r.POST("/comment", friend_circle.Comment) // 评论 |
|
|
|
r.GET("/isCanComment", friend_circle.IsCanComment) // 是否可以评论 |
|
|
|
r.POST("/comment", friend_circle.Comment) // 评论 |
|
|
|
r.GET("/isCanComment", friend_circle.IsCanComment) // 是否可以评论 |
|
|
|
|
|
|
|
r.DELETE("/commentDelete", friend_circle.CommentDelete) // 删除评论 |
|
|
|
r.POST("/commentLike", friend_circle.CommentLike) // 点赞评论 |
|
|
|
r.POST("/commentCancelLike", friend_circle.CommentCancelLike) // 取消点赞评论 |
|
|
|
r.POST("/commentShare", friend_circle.CommentShare) // 分享评论 |
|
|
|
} |
|
|
|
|
|
|
|
func rComm(r *gin.RouterGroup) { |
|
|
|