Commit b1e619b5 authored by limingzhe's avatar limingzhe

fix: debug

parent 2c9ea85d
......@@ -571,6 +571,8 @@ export abstract class middleLayerBase extends cc.Component {
callNetworkApiPostNew(uri, data, callBack) {
const token = cc.sys.localStorage.getItem('student_token');
data = {...data, token};
console.log('token~ : ' + token);
console.log('data : ' + JSON.stringify(data));
// this.getEngineInfo().then((engineInfo) => {
const xhr = new XMLHttpRequest();
// const url = `${engineInfo["apiBase"]}${uri}`;
......
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