| | |
| | | package com.ruoyi.article.controller.forepart; |
| | | |
| | | |
| | | import com.ruoyi.article.dto.ArticleCommentsDTO; |
| | | import com.ruoyi.article.controller.forepart.dto.ArticleCommentsDTO; |
| | | import com.ruoyi.article.service.IArticleCommentsService; |
| | | import com.ruoyi.common.core.domain.R; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.apache.poi.ss.formula.functions.T; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | |
| | | private IArticleCommentsService articleCommentsService; |
| | | |
| | | @PostMapping("/saveMemberArticleComments") |
| | | @ResponseBody |
| | | @ApiOperation(value = "用户端-添加或者修改用户评论/回复") |
| | | public R saveMemberArticleComments(@RequestBody ArticleCommentsDTO articleCommentsDTO) { |
| | | articleCommentsService.saveMemberArticleComments(articleCommentsDTO); |
| | |
| | | } |
| | | |
| | | @PostMapping("/delMemberArticleComments") |
| | | @ResponseBody |
| | | @ApiOperation(value = "用户端-删除用户评论/回复") |
| | | public R delMemberArticleComments(@RequestBody ArticleCommentsDTO articleCommentsDTO) { |
| | | articleCommentsService.delMemberArticleComments(articleCommentsDTO); |