Commit fec8b2f0 authored by liujiangnan's avatar liujiangnan

test

parent 56ac973c
...@@ -251,7 +251,19 @@ cc.Class({ ...@@ -251,7 +251,19 @@ cc.Class({
cc.find('middleLayer/ui/BtnCloseRecord').on('click', () => { cc.find('middleLayer/ui/BtnCloseRecord').on('click', () => {
window.courseware.stopRecord(0, res => { window.courseware.stopRecord(0, res => {
this.log('--------录音返回结果------------'); this.log('--------录音返回结果 stopRecord ------------');
this.log(JSON.stringify(res))
this.log('------------------------------');
});
});
cc.find('middleLayer/ui/BtnOpenTest').on('click', () => {
window.courseware.startTest('');
});
cc.find('middleLayer/ui/BtnCloseTest').on('click', () => {
window.courseware.stopTest(res => {
this.log('--------录音评测返回结果 stopTest ---------');
this.log(JSON.stringify(res)) this.log(JSON.stringify(res))
this.log('------------------------------'); this.log('------------------------------');
}); });
......
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