- 小程序客服消息,一个客户接入了之后,怎么取消接入,或者用户再发消息之后,去到待接入?
小程序客服消息,怎么让用户发消息,去到待接入,让所有客服人员进行都可以查看,并且可以取消接入,下次用户有疑问的时候,可以再次去到待接入,而不是与客服一对一绑定的关系。
2021-07-05 - 使用CameraContext.stopRecord()的api时没有成功回调?
代码片段:https://developers.weixin.qq.com/s/ipngvGmO7gif 荣耀9x,小米9,华为多数手机,在使用CameraContext.stopRecord()的api时没有成功回调,第一次触发api没有回调,第二再次点击的时候返回operateCamera:fail:is stopping, 之后的多次点击都是返回此错误,一直没有第一次的回调。 [图片]
2020-07-08 - wx.stopRecord没有成功回调?
魅蓝M6 Note 微信版本7.0.15在调用wx.stopRecord的停止录像的api中没有返回成功的回调。 [图片] stopRecord: function () { let that = this; this.cameraContext.stopRecord({ success: function (res) { console.log('停止录制'); }, fail: function (res) { console.log(res); }) },
2020-06-22 - camera组件,调用stopRecord,没有拿到success回调?
小米10,使用camera组件,调用stopRecord没有成功回调,然后通过点击事件调用方法一直返回错误operateCamera:fail:is stopping[图片] startTimer: function () { let that = this; this.data.timer = setInterval(function () { that.data.time.second--; if (that.data.time.second === 1 && that.data.status.record === "recording") { that.stopRecord(); } that.setData({ time: that.data.time }) }, 1000) }, stopTimer: function () { clearInterval(this.data.timer); }, stratRecord: function () { let that = this; this.cameraContext.startRecord({ success: function (res) { console.log('开始录制') that.startTimer(); }, fail: function (res) { }, }) }, stopRecord: function () { let that = this; this.cameraContext.stopRecord({ success: function (res) { console.log('停止录制'); that.data.video = res.tempVideoPath; that.data.img = res.tempThumbPath; that.stopTimer(); that.data.status.record = 'success'; that.data.time.second = 5; that.setData({ status: that.data.status, video: that.data.video, img: that.data.img, time: that.data.time }) }, fail: function (res) { console.log(res); if(res.errMsg === "operateCamera:fail:is stopping"){ } else { that.stopTimer(); that.data.status.record === 'not'; that.data.time.second = 5; that.setData({ status: that.data.status, time: that.data.time }) } }, }) },
2020-06-09