Browse Source

update

adv_callback
dengbiao 2 weeks ago
parent
commit
13eb25056e
2 changed files with 4 additions and 6 deletions
  1. +1
    -3
      app/hdl/friend_circle/hdl_comment.go
  2. +3
    -3
      app/router/router.go

+ 1
- 3
app/hdl/friend_circle/hdl_comment.go View File

@@ -157,9 +157,7 @@ func Comment(c *gin.Context) {
func CommentDelete(c *gin.Context) {
e.OutSuc(c, "success", nil)
}
func CommentShare(c *gin.Context) {
e.OutSuc(c, "success", nil)
}

func CommentLike(c *gin.Context) {
e.OutSuc(c, "success", nil)
}


+ 3
- 3
app/router/router.go View File

@@ -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) {


Loading…
Cancel
Save