微信与服务器通讯失败,云开发实时通信出现下面错误码是什么原因?-402002,-402010...

75c0c7347ef47ee7de5199c52305f48b.png姜农-小程序搜索推广

2019-11-19

加粗

标红

插入代码

插入链接

插入图片

上传视频

请 登录 后发表内容

关闭

新增或编辑超链接

链接地址

关闭

插入视频

视频链接

this.recordWatch = db.collection('record').where({

_id: id

}).watch({

onChange: function(snapshot) {

// console.log('docs\'s changed events', snapshot.docChanges)

// console.log('query result snapshot after the event', snapshot.docs)

// console.log('is init data', snapshot.type === 'init')

if (snapshot.type !== 'init') {

let huData = snapshot.docs[0]

if (huData._id !== _this.id) {

console.info("id1: " + huData._id + ",id2: " + _this.id)

return

}

console.info(huData)

delete huData._id

_this.setData({

huData: huData,

})

}

},

onError: function(err) {

console.error('the record watch closed because of error', err)

_this.watchRecord(_this.id)

// _this.onReLaunchApp()

}

})

你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。待楼主反馈

2019-11-19

回复

关闭

请选择投诉理由

广告内容

违法违规

恶意灌水内容

其他

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值