|
@ -398,14 +398,15 @@ cors(corsOptions), (req, res, next) => { |
|
|
|
|
|
|
|
|
for (let i in item) { |
|
|
for (let i in item) { |
|
|
reslab = item[i].message.app_name |
|
|
reslab = item[i].message.app_name |
|
|
|
|
|
RES.reslab = reslab |
|
|
if(resdata.data.filter(item1 => item1.res25swarmlabname.includes(reslab))){ |
|
|
if(resdata.data.filter(item1 => item1.res25swarmlabname.includes(reslab))){ |
|
|
resdataarray.push(item[i]) |
|
|
resdataarray.push(item[i]) |
|
|
|
|
|
RES.found = item[i] |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
RES.error_msg = "ok" |
|
|
RES.error_msg = "ok" |
|
|
RES.data = item |
|
|
RES.data = item |
|
|
RES.reslab = reslab |
|
|
|
|
|
RES.dataserver = resdataarray |
|
|
RES.dataserver = resdataarray |
|
|
RES.dataservertmp = resdata |
|
|
RES.dataservertmp = resdata |
|
|
res.json(RES) |
|
|
res.json(RES) |
|
|