修复点播接口状态判断错误
This commit is contained in:
parent
58b333604d
commit
c1bc45fe8f
@ -92,7 +92,7 @@ public class ApiStreamController {
|
||||
result.put("error","device[ " + serial + " ]未找到");
|
||||
resultDeferredResult.setResult(result);
|
||||
return resultDeferredResult;
|
||||
}else if (device.isOnLine()) {
|
||||
}else if (!device.isOnLine()) {
|
||||
JSONObject result = new JSONObject();
|
||||
result.put("error","device[ " + code + " ]offline");
|
||||
resultDeferredResult.setResult(result);
|
||||
|
Loading…
Reference in New Issue
Block a user