Commit 3db12877 authored by 范雪寒's avatar 范雪寒

test: log

parent a42176be
...@@ -6,6 +6,10 @@ cc.Class({ ...@@ -6,6 +6,10 @@ cc.Class({
this.showLog('getData'); this.showLog('getData');
const uri = 'courseware/v1/getdata'; const uri = 'courseware/v1/getdata';
const course_id = this.bundleInfoList[this.currentBundleIndex].course_id; const course_id = this.bundleInfoList[this.currentBundleIndex].course_id;
const courseData = this.bundleInfoList[this.currentBundleIndex];
for (const key in courseData) {
this.showLog(`${key}: ${courseData[key]}`);
}
const data = { const data = {
courseid: course_id courseid: course_id
}; };
......
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