feat: 植物识别
This commit is contained in:
@@ -10,6 +10,7 @@ func (p *PostRouter) InitPostRouter(Router *gin.RouterGroup) {
|
||||
// 帖子
|
||||
postRouter.POST("publish", postApi.PublishPost) // 发布帖子
|
||||
postRouter.POST("page", postApi.PostPage) // 帖子列表
|
||||
postRouter.POST("myPost", postApi.MyPost) // 我的发布
|
||||
postRouter.GET("like", postApi.LikePost) // 点赞或者取消点赞
|
||||
postRouter.POST("comment", postApi.CommentPost) // 评论
|
||||
//postRouter.POST("deleteComment", postApi.delementComment) // 取消评论
|
||||
|
||||
Reference in New Issue
Block a user