This commit is contained in:
qq
2026-04-22 16:02:39 +08:00
parent 98de5653ac
commit 848221b896
3 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -158,7 +158,7 @@ let TaskInstallService = TaskInstallService_1 = class TaskInstallService {
const groupInfo = await im_help_1.IMHelp.getGroupInfo([app_env_1.AppEnv.IM_DEFAULT_GROUP_ID]);
if (groupInfo.GroupInfo?.length && groupInfo.GroupInfo[0].ErrorCode == 0) {
this.logger.verbose(`群租已存在:${groupInfo.GroupInfo[0].Name}`);
await im_help_1.IMHelp.importGroupMember({
const res = await im_help_1.IMHelp.importGroupMember({
GroupId: app_env_1.AppEnv.IM_DEFAULT_GROUP_ID,
MemberList: [
{
@@ -167,6 +167,7 @@ let TaskInstallService = TaskInstallService_1 = class TaskInstallService {
},
],
});
this.logger.verbose(res);
}
else {
const res = await im_help_1.IMHelp.createGroup({
File diff suppressed because one or more lines are too long