Commit b5139995 authored by limingzhe's avatar limingzhe

fix: debug

parent 1cecc036
......@@ -119,6 +119,30 @@ export default class NewClass extends middleLayerBase {
}
async getUserInfo() {
console.log("in getUserInfo");
let res = await this.asyncCallNetworkApiGet(`api/dige/v1/user/info`, {});
console.log("res: ", res);
if (res.code != 200) {
global.middleLayer.showTips(res.msg);
return;
}
return {
avatar_url: null,
nick_name: null
}
}
async getHeadUrl() {
return '';
}
reWriteAir() {
(<any>window).courseware.getData = (callback) => {
let data = null;
......
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