tplink-设备在线状态修改
This commit is contained in:
parent
bf9e3d8135
commit
b257cf5c75
|
|
@ -485,6 +485,7 @@ public class CameraInfoServiceImpl extends ServiceImpl<CameraInfoMapper, CameraI
|
||||||
if("0".equals(errorCode)){
|
if("0".equals(errorCode)){
|
||||||
JSONObject image = (JSONObject)responseData.get("image");
|
JSONObject image = (JSONObject)responseData.get("image");
|
||||||
JSONObject data = (JSONObject)image.get(type);
|
JSONObject data = (JSONObject)image.get(type);
|
||||||
|
updateDeviceStatus(id,errorCode);
|
||||||
return Result.OK(data);
|
return Result.OK(data);
|
||||||
}else{
|
}else{
|
||||||
String errorMsg = "";
|
String errorMsg = "";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue