zdg #332

Merged
zhengdegang merged 6 commits from zdg into main 2024-10-18 17:08:47 +08:00
1 changed files with 5 additions and 2 deletions
Showing only changes of commit d7f17c253d - Show all commits

View File

@ -285,8 +285,11 @@ export class ImChat {
// callback: (data) => {} // callback: (data) => {}
} }
// console.log('发送消息', option) // console.log('发送消息', option)
this.setConsole('%cim-chat: 发送消息', option) this.setConsole('%cim-chat: 发送消息【req】', conv_id, msg)
return this.timChat.TIMMsgSendMessageV2(option) return this.timChat.TIMMsgSendMessageV2(option).then(res => {
this.setConsole('%cim-chat: 发送消息【res】', JSON.stringify(res))
return res
})
} }
/** /**
* @description 发送群消息 * @description 发送群消息