From 392b42c4891cf2e6beda57ab32c51598f290f4b7 Mon Sep 17 00:00:00 2001
From: mitao <2763622819@qq.com>
Date: 星期五, 14 三月 2025 20:56:27 +0800
Subject: [PATCH] bug修改

---
 ruoyi-modules/ruoyi-article/src/main/java/com/ruoyi/article/controller/forepart/ForepartArticleCommentsController.java |    5 +----
 1 files changed, 1 insertions(+), 4 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 0f63686..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,7 +27,6 @@
     private IArticleCommentsService articleCommentsService;
 
     @PostMapping("/saveMemberArticleComments")
-    @ResponseBody
     @ApiOperation(value = "用户端-添加或者修改用户评论/回复")
     public R saveMemberArticleComments(@RequestBody ArticleCommentsDTO articleCommentsDTO) {
         articleCommentsService.saveMemberArticleComments(articleCommentsDTO);
@@ -36,7 +34,6 @@
     }
 
     @PostMapping("/delMemberArticleComments")
-    @ResponseBody
     @ApiOperation(value = "用户端-删除用户评论/回复")
     public R delMemberArticleComments(@RequestBody ArticleCommentsDTO articleCommentsDTO) {
         articleCommentsService.delMemberArticleComments(articleCommentsDTO);

--
Gitblit v1.7.1