remington_young 发表于 2017-2-21 11:28:41

Nodejs 微信开发之语音识别

1、Nodejs wechat库git://github.com/node-webot/wechat.git
2、微信语音识别功能: http://mp.weixin.qq.com/wiki/2/f2bef3230362d18851ee22953abfadde.html
3、进行开发

  

processVoice = function(message, req, res) {
var recognition = message.Recognition;
if (recognition) {
message.Content = recognition;
this.processText(message, req, res);
} else {
res.reply(config.text.notDetectVoice)
}
};


页: [1]
查看完整版本: Nodejs 微信开发之语音识别