feat: 互动处理
This commit is contained in:
@@ -12,6 +12,8 @@ func (r *InteractionRouter) InitInteractionRouter(Router *gin.RouterGroup) {
|
||||
{
|
||||
historyRouter.POST("list", interactionApi.GetHistoryList)
|
||||
historyRouter.POST("add", interactionApi.AddHistory)
|
||||
historyRouter.POST("delete", interactionApi.DeleteHistory)
|
||||
historyRouter.GET("deleteAll", interactionApi.DeleteAllHistory)
|
||||
}
|
||||
|
||||
// 点赞
|
||||
@@ -26,6 +28,7 @@ func (r *InteractionRouter) InitInteractionRouter(Router *gin.RouterGroup) {
|
||||
favoriteRouter.POST("list", interactionApi.GetFavoriteList)
|
||||
favoriteRouter.POST("add", interactionApi.AddFavorite)
|
||||
favoriteRouter.POST("remove", interactionApi.RemoveFavorite)
|
||||
favoriteRouter.GET("removeAll", interactionApi.RemoveAllFavorite)
|
||||
}
|
||||
|
||||
// 评论
|
||||
|
||||
Reference in New Issue
Block a user