Ver a proveniência

update

adv_callback
dengbiao há 2 semanas
ascendente
cometimento
13eb25056e
2 ficheiros alterados com 4 adições e 6 eliminações
  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 Ver ficheiro

@@ -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 Ver ficheiro

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


Carregando…
Cancelar
Guardar