This repository has been archived on 2025-05-14. You can view files and clone it, but cannot push or open issues or pull requests.
copy-kamanote/src/main/java/com/example/copykamanotes/service/NoteCommentService.java
LingandRX 4260b4e028 feat(service): 添加新服务接口和实现类
- 新增 CollectionNoteService、CollectionService、CommentService等多个服务接口
- 实现 CategoryService、NoteLikeService等多个服务类
- 添加事务注解以确保数据一致性- 新增 StatisticQueryParam 类用于统计查询参数
2025-05-08 23:09:45 +08:00

17 lines
476 B
Java

package com.example.copykamanotes.service;
import com.example.copykamanotes.model.base.ApiResponse;
import com.example.copykamanotes.model.base.EmptyVO;
import com.example.copykamanotes.model.entity.NoteComment;
import java.util.List;
public interface NoteCommentService {
ApiResponse<EmptyVO> createComment(Integer noteId, String content);
ApiResponse<EmptyVO> deleteComment(Integer commentId);
ApiResponse<List<NoteComment>> getComments(Integer noteId);
}