1
This commit is contained in:
@@ -35,6 +35,15 @@ public interface IInstructionService {
|
||||
* @return 历史消息列表
|
||||
*/
|
||||
java.util.List<String> getHistory(String type, Integer limit);
|
||||
|
||||
/**
|
||||
* 获取历史消息记录(支持关键词搜索,在全部数据中匹配)
|
||||
* @param type 消息类型:request(请求) 或 response(响应)
|
||||
* @param limit 返回数量上限,默认200条
|
||||
* @param keyword 搜索关键词,为空则按 limit 取最近 N 条
|
||||
* @return 历史消息列表
|
||||
*/
|
||||
java.util.List<String> getHistory(String type, Integer limit, String keyword);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user