New file |
| | |
| | | package com.dsh.course.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.dsh.course.entity.Problem; |
| | | import com.dsh.guns.modular.system.util.ResultUtil; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | public interface IProblemService extends IService<Problem> { |
| | | |
| | | |
| | | /** |
| | | * 添加留言 |
| | | * @param content |
| | | * @param uid |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | ResultUtil leaveMessage(String content, Integer uid) throws Exception; |
| | | |
| | | |
| | | /** |
| | | * 获取提交的留言列表 |
| | | * @param pageNum |
| | | * @param size |
| | | * @param uid |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | List<Map<String, Object>> queryProblems(Integer pageNum, Integer size, Integer uid) throws Exception; |
| | | } |