Commit afdbe638 authored by 李维's avatar 李维

feat: 添加调试日志

parent 4d01c96b
......@@ -81,14 +81,14 @@ export default class NewClass extends middleLayerBase {
return;
}
console.log({
console.log('========== reportScore ==========');
console.log(JSON.stringify({
token: this.token,
score: data.score,
syllabus_id: this.courseItem.course_id,
courseware_id: this.courseItem.id,
type: ""
}
)
}));
this.callNetworkApiPost(`api/dige/v1/user/score/report`, {
token: this.token,
score: data.score,
......@@ -105,13 +105,14 @@ export default class NewClass extends middleLayerBase {
return;
}
console.log({
console.log('========== getRankList ==========');
console.log(JSON.stringify({
token: this.token,
syllabus_id: this.courseItem.course_id,
courseware_id: this.courseItem.id,
direction: data.direction, // 方向 up 向上 down 向下
ranking: data.ranking
})
}));
this.callNetworkApiPost(`api/dige/v1/user/score/rank`, {
token: this.token,
......
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