chore(im): 文章推送增加请求参数日志,便于验证businessId等信息
This commit is contained in:
@@ -309,6 +309,9 @@ public class TencentCloudImUtil {
|
|||||||
JSONArray msgBody = new JSONArray();
|
JSONArray msgBody = new JSONArray();
|
||||||
msgBody.add(item);
|
msgBody.add(item);
|
||||||
param.put("MsgBody", msgBody);
|
param.put("MsgBody", msgBody);
|
||||||
|
log.info("文章推送请求参数: GroupId={}, From_Account={}, content={}, CloudCustomData={}",
|
||||||
|
req.getGroupId(), fromUserId, jj.toString(),
|
||||||
|
param.getString("CloudCustomData"));
|
||||||
String jsonStr = HttpUtil.doPost(buildRequestUrl(url), param.toString());
|
String jsonStr = HttpUtil.doPost(buildRequestUrl(url), param.toString());
|
||||||
if (StringUtils.isNotEmpty(jsonStr)) {
|
if (StringUtils.isNotEmpty(jsonStr)) {
|
||||||
JSONObject jsonObj = JSONObject.parseObject(jsonStr);
|
JSONObject jsonObj = JSONObject.parseObject(jsonStr);
|
||||||
|
|||||||
Reference in New Issue
Block a user