Commit 35224b3d authored by liujiangnan's avatar liujiangnan

fix

parent 41e0b978
......@@ -933,7 +933,8 @@ export default class NewClass extends middleLayerBase {
doHeart() {
const token = cc.sys.localStorage.getItem('token');
this.callNetworkApiGet(`/api/oxford/v1/heart`, {token, engine_uuid: this.ENGINE_INFO.uuid}, ()=>{
const engine_uuid = this.ENGINE_INFO?this.ENGINE_INFO.uuid:"";
this.callNetworkApiGet(`/api/oxford/v1/heart`, {token, engine_uuid}, ()=>{
// 心跳结果,暂时不做任何处理
});
this.scheduleOnce(()=>{
......
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