Commit 73969597 authored by liujiangnan's avatar liujiangnan

feat: 上报成绩

parent 3cbb1ce9
......@@ -865,6 +865,16 @@ function drawResult(data, text) {
$("#score").empty().append(score);
$("#recorder-text").html(annotationHtml);
$("#evaluation").html(evaluateHtml);
// 上报成绩
cw.sendAnswer({
"duration": timeLen,
"score": score,
"complete": Math.floor(integrity * 100),
"fluent": Math.floor(fluency * 100),
"grammar": temp.overall,
"detail": temp.detail
});
}
function insertString(string, insert, index){
......
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