This commit is contained in:
van
2026-05-05 14:58:52 +08:00
parent e75f71d37b
commit 8b5abb44ee
4 changed files with 113 additions and 23 deletions

View File

@@ -27,7 +27,13 @@ public interface IInstructionService {
* @return 执行结果文本列表(可能为单条或多条)
*/
java.util.List<String> execute(String command, boolean forceGenerate, boolean isFromConsole);
/**
* 执行文本指令(支持传入企微成员 UserID用于「京」统计按绑定联盟过滤
* @param wecomUserId 企业微信成员 UserID控制台等非企微入口传 null按全局规则统计
*/
java.util.List<String> execute(String command, boolean forceGenerate, boolean isFromConsole, String wecomUserId);
/**
* 获取历史消息记录
* @param type 消息类型request(请求) 或 response(响应)