!92 czh-20260725-增强自我排除逻辑并统一fastjson2

* Merge branch 'master' of gitee.com:sz_30/supervison-java into feature/…
* czh-20260725-增强自我排除逻辑并统一fastjson2
* czh-20260724-即时通API接口改为sendBatch
* czh-20260724-增加即时通请求体日志
* czh-20260724-IM模块统一使用fastjson2
* czh-20260724-添加bundle到gitignore
* czh-20260724-增补意见即时通推送和回显功能
This commit is contained in:
陈志浩
2026-07-25 01:58:42 +00:00
parent 91c85b6a6c
commit fbd91f8337
3 changed files with 31 additions and 15 deletions
@@ -59,7 +59,8 @@ public class KsimApiClient {
headers.add("imOpenApiToken", token);
String bodyJson = JSON.toJSONString(dto);
String url = ksimProperties.getHost() + "/api-open/v1/msg/send";
String url = ksimProperties.getHost() + "/api-open/v1/msg/sendBatch";
log.info("【即时通推送-消息发送】请求体: {}", bodyJson);
ResponseEntity<JSONObject> resp = RestUtil.request(url, HttpMethod.POST, headers, null,
JSON.parseObject(bodyJson), JSONObject.class);
@@ -1,7 +1,7 @@
package org.jeecg.modules.ksim.controller;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson2.JSON;
import com.alibaba.fastjson2.JSONObject;
import lombok.extern.slf4j.Slf4j;
import org.jeecg.common.api.vo.Result;
import org.jeecg.common.util.RestUtil;
@@ -103,7 +103,7 @@ public class KsimTestController {
dto.setLinkUrl(linkUrl);
}
String msgUrl = host + "/api-open/v1/msg/send";
String msgUrl = host + "/api-open/v1/msg/sendBatch";
requestInfo.put("msgRequestUrl", msgUrl);
requestInfo.put("msgRequestBody", dto);