Commit c43e545b by zhouhaibao

fix(wechat): 修复微信消息发送中的目标ID格式问题

- 移除了目标ID中的前缀"R:"以解决消息发送失败的问题
- 确保groupId直接作为targetId传递给IM Hub服务
- 保持了原有的消息发送逻辑不变,仅修正了ID格式错误
1 parent a25f2083
......@@ -311,7 +311,7 @@ public class WechatMessageActionExecutor implements SopActionExecutor {
}
private void sendImHubMessage(String taskType, String groupId, JSONObject payload) {
String targetId = "R:" + groupId;
String targetId = groupId;
JSONObject request = new JSONObject();
request.put("channel", imHubConfig.getChannel());
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!