tplink-设备在线状态修改

This commit is contained in:
曹磊 2025-12-17 15:13:01 +08:00
parent bf9e3d8135
commit b257cf5c75
1 changed files with 1 additions and 0 deletions

View File

@ -485,6 +485,7 @@ public class CameraInfoServiceImpl extends ServiceImpl<CameraInfoMapper, CameraI
if("0".equals(errorCode)){
JSONObject image = (JSONObject)responseData.get("image");
JSONObject data = (JSONObject)image.get(type);
updateDeviceStatus(id,errorCode);
return Result.OK(data);
}else{
String errorMsg = "";