fix 修改返回前端字段名

This commit is contained in:
2023-07-04 18:49:02 +08:00
parent 3625c88ec1
commit ed7f824519

View File

@@ -479,7 +479,7 @@ public class BigScreenServiceImpl implements BigScreenService {
JSONArray data = ObjectUtil.isNotEmpty(devicesStatus) ? devicesStatus.getJSONArray("data") : res;
for (int i = 0; i < data.size(); i++) {
JSONObject object = data.getJSONObject(i);
result.put(object.getString("device_code"), object);
result.put("agv_" + object.getString("device_code"), object);
}
return result;
}, pool);