Commit f9ade646 authored by liujiangnan's avatar liujiangnan

feat: 打印URL

parent f04804f3
...@@ -318,6 +318,7 @@ cc.Class({ ...@@ -318,6 +318,7 @@ cc.Class({
this.log(res) this.log(res)
this.log('------------------------------'); this.log('------------------------------');
this.log(`录音的文本是${JSON.parse(res).text}`); this.log(`录音的文本是${JSON.parse(res).text}`);
this.log(`录音的音频URL是${JSON.parse(res).audioUrl}`);
}); });
}); });
...@@ -331,6 +332,7 @@ cc.Class({ ...@@ -331,6 +332,7 @@ cc.Class({
this.log(res) this.log(res)
this.log('------------------------------'); this.log('------------------------------');
this.log(`录音apple的评分是${JSON.parse(res).result.overall}`); this.log(`录音apple的评分是${JSON.parse(res).result.overall}`);
this.log(`录音apple的音频URL是${JSON.parse(res).audioUrl}`);
}); });
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment