Commit 3ad6d7c4 authored by 李维's avatar 李维
parents 02e023e2 281e8684
......@@ -255,6 +255,15 @@ export default class NewClass extends middleLayerBase {
} else {
// 所有课件都完成的庆祝动画
this.showAllFinish();
// 上报一个本节课完成
this.callNetworkApiPost(`/api/kyxq/v1/user/saveend`, {
syllabus_id: lastCurse.pid,
}, (res) => {
if (res.code != 200) {
this.showTips(`保存结束状态失败 [${res.msg}]`);
return;
}
});
}
}
}
......
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