微信小程序如何监听消息发送成功
msg.set({
msg: that.data.sendInfo,
to: that.data.yourname,
roomType: false,
success: function (id, serverMsgId) {
console.log(' sendMessage success')
}
});
// //console.log(msg)
msg.body.chatType = 'singleChat';
WebIM.conn.send(msg.body);
我使用这个方法消息发送成功,但是log打印不出来
msg: that.data.sendInfo,
to: that.data.yourname,
roomType: false,
success: function (id, serverMsgId) {
console.log(' sendMessage success')
}
});
// //console.log(msg)
msg.body.chatType = 'singleChat';
WebIM.conn.send(msg.body);
我使用这个方法消息发送成功,但是log打印不出来
没有找到相关结果
已邀请:
0 个回复