明树Git Lab

Commit ffc02d21 authored by zfp1's avatar zfp1

update

parent baf81c20
......@@ -202,7 +202,7 @@ async function getJiankong(req, res, next) {
let onlineArr = await deviceModule.getDeviceOnlineMap();
smc.onLineState = onlineArr.includes(smc.deviceNumber) ? "1" : "0";
ws.onLineState = onlineArr.includes(ws.deviceNumber) ? "1" : "0";
traccode.smc = handleSMCObjForSuYuan(smc);
traccode.smc = utils.handleSMCObjForSuYuan(smc);
traccode.ws = ws;
traccode.onlineArr = onlineArr;
}
......
......@@ -169,5 +169,6 @@ module.exports = {
disTree,
generateRandomCode,
handleSMCDataForDP,
handleSMCObjForSuYuan,
}
\ No newline at end of file
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