From fe2d5b14031edbe43238770fb1fc21e8a322b51a Mon Sep 17 00:00:00 2001 From: rentaiming <806181062@qq.com> Date: 星期四, 13 六月 2024 18:18:08 +0800 Subject: [PATCH] 用户端商品 --- ruoyi-modules/ruoyi-article/src/main/java/com/ruoyi/article/controller/forepart/ForepartArticleCommentsController.java | 9 +++------ 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/ruoyi-modules/ruoyi-article/src/main/java/com/ruoyi/article/controller/forepart/ForepartArticleCommentsController.java b/ruoyi-modules/ruoyi-article/src/main/java/com/ruoyi/article/controller/forepart/ForepartArticleCommentsController.java index 2d55b88..39f89c1 100644 --- a/ruoyi-modules/ruoyi-article/src/main/java/com/ruoyi/article/controller/forepart/ForepartArticleCommentsController.java +++ b/ruoyi-modules/ruoyi-article/src/main/java/com/ruoyi/article/controller/forepart/ForepartArticleCommentsController.java @@ -1,12 +1,11 @@ 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; @@ -28,17 +27,15 @@ private IArticleCommentsService articleCommentsService; @PostMapping("/saveMemberArticleComments") - @ResponseBody @ApiOperation(value = "用户端-添加或者修改用户评论/回复") - public R<T> saveMemberArticleComments(@RequestBody ArticleCommentsDTO articleCommentsDTO) { + public R saveMemberArticleComments(@RequestBody ArticleCommentsDTO articleCommentsDTO) { articleCommentsService.saveMemberArticleComments(articleCommentsDTO); return R.ok(); } @PostMapping("/delMemberArticleComments") - @ResponseBody @ApiOperation(value = "用户端-删除用户评论/回复") - public R<T> delMemberArticleComments(@RequestBody ArticleCommentsDTO articleCommentsDTO) { + public R delMemberArticleComments(@RequestBody ArticleCommentsDTO articleCommentsDTO) { articleCommentsService.delMemberArticleComments(articleCommentsDTO); return R.ok(); } -- Gitblit v1.7.1