mcwl-ai/mcwl-communityCenter/src/main/java/com/mcwl/communityCenter/service/PublishCommentService.java

37 lines
1.1 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package com.mcwl.communityCenter.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mcwl.common.core.domain.AjaxResult;
import com.mcwl.common.core.domain.R;
import com.mcwl.communityCenter.domain.dto.CommentDelRes;
import com.mcwl.communityCenter.domain.dto.CommentDetailRes;
import com.mcwl.communityCenter.domain.dto.CommentRes;
import com.mcwl.communityCenter.domain.vo.CommentVo;
import com.mcwl.communityCenter.domain.PublishComment;
import org.springframework.http.ResponseEntity;
import javax.validation.Valid;
import java.util.List;
/**
* @AuthorChenYan
* @Projectmcwl-ai
* @Packagecom.mcwl.communityCenter.service
* @FilenamePublishCommissionService
* @Description TODO
* @Date2025/1/17 14:27
*/
public interface PublishCommentService extends IService<PublishComment> {
/**
* 获取评论详情
* @param commentDetailRes 评论详情参数
* @return 评论详情
*/
R<List<CommentVo>> getComment(CommentDetailRes commentDetailRes);
R<Object> addComment(CommentRes commentRes);
R<Object> removeCommentById(CommentDelRes commentDelRes);
}