Commit f6154312 authored by 范雪寒's avatar 范雪寒

feat

parent 869cac8e
...@@ -97,12 +97,12 @@ cc.Class({ ...@@ -97,12 +97,12 @@ cc.Class({
// }) // })
// }, 20000); // }, 20000);
this.baseUrl = 'http://staging-teach.ireadabc.com/api/'; // this.baseUrl = 'http://staging-teach.ireadabc.com/api/';
this.initStoryBoxView({ // this.initStoryBoxView({
// coursewareId: 18307 // // coursewareId: 18307
coursewareId: 18582 // coursewareId: 18582
}); // });
this.bundleType = 'StoryBox'; // this.bundleType = 'StoryBox';
this.log('汪汪汪'); this.log('汪汪汪');
}, },
...@@ -162,7 +162,7 @@ cc.Class({ ...@@ -162,7 +162,7 @@ cc.Class({
initStoryBoxView(bundleInfo) { initStoryBoxView(bundleInfo) {
this.hideWWView(); this.hideWWView();
// this.showLog(bundleInfo.coursewareId); this.showLog(bundleInfo.coursewareId);
this.callNetworkApiGet('syllabus/v1/tree', { orgid: 483, pid: bundleInfo.coursewareId }, (data) => { this.callNetworkApiGet('syllabus/v1/tree', { orgid: 483, pid: bundleInfo.coursewareId }, (data) => {
console.log(data); console.log(data);
const defaultBondle = data.rows.find(row => row.name == '默认'); const defaultBondle = data.rows.find(row => row.name == '默认');
......
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