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

feat

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