fix(im): 创建应急群聊时群名称固定为"应急求助"
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -339,7 +339,7 @@ public class TXController {
|
||||
groupList.add(hashMap);
|
||||
});
|
||||
|
||||
String result = tencentCloudImUtil.creatGroup(Owner_Account, Type, GroupId, conSessionRequestDO.getName() + "_" + DateUtils.getCurrentTimestamp(), groupList);
|
||||
String result = tencentCloudImUtil.creatGroup(Owner_Account, Type, GroupId, "应急求助", groupList);
|
||||
if (!JSONObject.parseObject(result).get("ErrorCode").equals(0)) {
|
||||
return Result.error("创建群聊失败!");
|
||||
}
|
||||
@@ -390,7 +390,7 @@ public class TXController {
|
||||
groupList.add(hashMap);
|
||||
});
|
||||
|
||||
String result = tencentCloudImUtil.creatGroup(Owner_Account, Type, GroupId, conSessionRequestDO.getName() + "_" + DateUtils.getCurrentTimestamp(), groupList);
|
||||
String result = tencentCloudImUtil.creatGroup(Owner_Account, Type, GroupId, "应急求助", groupList);
|
||||
if (!JSONObject.parseObject(result).get("ErrorCode").equals(0)) {
|
||||
return Result.error("创建群聊失败!");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user