Commit fbaf44e4 authored by 李维's avatar 李维

添加日志信息

parent 81d0f341
...@@ -569,6 +569,8 @@ export default class NewClass extends middleLayerBase { ...@@ -569,6 +569,8 @@ export default class NewClass extends middleLayerBase {
const kidDataStr = await this.asyncCallNetworkApiGet('/api/oxford/v1/kid/info', { const kidDataStr = await this.asyncCallNetworkApiGet('/api/oxford/v1/kid/info', {
token: token token: token
}); });
console.log("[middleLayer_for_NJ_lite] start kidDataStr=", kidDataStr)
const kidData = JSON.parse(kidDataStr); const kidData = JSON.parse(kidDataStr);
if (kidData.code == 200) { if (kidData.code == 200) {
this.loadOnlineBundle('NJ_YouLeChang'); this.loadOnlineBundle('NJ_YouLeChang');
...@@ -589,6 +591,7 @@ export default class NewClass extends middleLayerBase { ...@@ -589,6 +591,7 @@ export default class NewClass extends middleLayerBase {
(<any>window).courseware.freeAllOcMethod(); (<any>window).courseware.freeAllOcMethod();
const syllabusPath = this.getData("syllabus_path"); const syllabusPath = this.getData("syllabus_path");
console.log("[middleLayer_for_NJ_lite] onClickExitBtn syllabusPath=", JSON.stringify(syllabusPath))
if (!syllabusPath) { if (!syllabusPath) {
this.loadOnlineBundle('NJ_YouLeChang'); this.loadOnlineBundle('NJ_YouLeChang');
return; return;
......
...@@ -137,6 +137,7 @@ export abstract class middleLayerBase extends cc.Component { ...@@ -137,6 +137,7 @@ export abstract class middleLayerBase extends cc.Component {
async loadBundle(sceneName, version, bondleUrl, callback = null) { async loadBundle(sceneName, version, bondleUrl, callback = null) {
this.currentBundleInfo = { sceneName, version, bondleUrl }; this.currentBundleInfo = { sceneName, version, bondleUrl };
console.log("[middleLayer_for_NJ_lite] loadBundle currentBundleInfo=", JSON.stringify(this.currentBundleInfo))
this.showMask(); this.showMask();
this.showWaitingLetters(); this.showWaitingLetters();
......
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