1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
| package com.stylefeng.guns.modular.system.service;
|
| import com.baomidou.mybatisplus.service.IService;
| import com.stylefeng.guns.modular.system.model.Problem;
| import com.stylefeng.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;
| }
|
|