From 3ec572e2cb7adf7d33d2018b24c003d9ef18906a Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期二, 12 十一月 2024 13:32:51 +0800 Subject: [PATCH] 代码提交 --- xinquan-modules/xinquan-meditation/src/main/java/com/xinquan/meditation/service/MeditationQuestionService.java | 16 +++++++++++++++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/xinquan-modules/xinquan-meditation/src/main/java/com/xinquan/meditation/service/MeditationQuestionService.java b/xinquan-modules/xinquan-meditation/src/main/java/com/xinquan/meditation/service/MeditationQuestionService.java index 3a2c1a6..fbcc189 100644 --- a/xinquan-modules/xinquan-meditation/src/main/java/com/xinquan/meditation/service/MeditationQuestionService.java +++ b/xinquan-modules/xinquan-meditation/src/main/java/com/xinquan/meditation/service/MeditationQuestionService.java @@ -1,7 +1,7 @@ package com.xinquan.meditation.service; -import com.xinquan.meditation.domain.MeditationQuestion; import com.baomidou.mybatisplus.extension.service.IService; +import com.xinquan.meditation.api.domain.MeditationQuestion; /** * <p> @@ -13,4 +13,18 @@ */ public interface MeditationQuestionService extends IService<MeditationQuestion> { + /** + * 举报提问 + * + * @param id 提问id + * @param content 举报内容 + */ + void report(Long id, String content); + + /** + * 点赞/取消点赞提问 + * + * @param id 提问id + */ + void likeQuestion(Long id); } -- Gitblit v1.7.1