翻译:微信到帐七元 也是有异常, 译文:WeChat to the account seven yuan. 后面yuan读就有问题了。
网络良好,文字转语音报错 {"retcode": -20005, "msg": "network }调用插件文字转语音文案之后,长时间获取不到成功,进入fail回调,返回状态码 { "retcode": -20005, "msg": "network error." }, 但是当时网络很好,其他请求都正常; plugin.textToSpeech({ lang: "zh_CN", tts: true, content: content.text, success: (speed) => { console.log('播报语音 success, 耗时', Date.now() - startAt,',', new Date().toLocaleTimeString()); playAudio(speed.filename).then(() => { completeCallback && completeCallback(); }) wx.request({ url, method: 'POST', data: { log: JSON.stringify({ logDesc: '语音播报成功', response: speed, "单次耗时": Date.now() - startAt + 'ms', '请求时间': strTime, '响应时间': new Date().toLocaleTimeString(), '渠道订单号': content.uuid, }, null, 4), termActiveNo: getApp().globalData.equipNo } }) }, fail: (err) => { completeCallback && completeCallback(); console.warn('联网获取语音文件异常') console.log(err) wx.request({ url, method: 'POST', data: { log: JSON.stringify({ logDesc: '联网获取语音文件异常', response: err, "语音内容": content.text, "单次耗时": Date.now() - startAt + 'ms', '请求时间': strTime, '响应时间': new Date().toLocaleTimeString(), '渠道订单号': content.uuid, }, null, 4), termActiveNo: getApp().globalData.equipNo } }) } });
2022-07-24