cosed #9 Done.
This commit is contained in:
@@ -36,6 +36,12 @@ var HotelTV = HotelTV || {
|
||||
'prev': null,
|
||||
},
|
||||
},
|
||||
'flight': {
|
||||
'cur_location': null,
|
||||
},
|
||||
'weather': {
|
||||
'default_location': null,
|
||||
},
|
||||
'media': {
|
||||
'playing': false,
|
||||
},
|
||||
@@ -609,10 +615,10 @@ HotelTV.LoadAppFull = async function() {
|
||||
}
|
||||
} else if (recvMsg.event == "update_flight") {
|
||||
if (recvMsg.ret === "OK") {
|
||||
HotelTV.flight = { "count": recvMsg.data.count, "info": recvMsg.data.items };
|
||||
HotelTV.flight =recvMsg.data;
|
||||
}
|
||||
} else if (recvMsg.event == "update_weather") {
|
||||
|
||||
//
|
||||
} else if (recvMsg.event == "update_report") {
|
||||
HotelTV.hcap.GetUptime();
|
||||
HotelTV.hcap.GetDeviceUsage().then(_usage => {
|
||||
|
||||
Reference in New Issue
Block a user