fix:校准记录,去掉权限校验,登录用户都可以调用。
This commit is contained in:
@@ -1760,8 +1760,8 @@ public class IotController extends BaseController {
|
||||
Device::getValueDissolvedOxygen, Device::getValueTemperature)
|
||||
);
|
||||
|
||||
if (device == null || device.getUserId() == null || !device.getUserId().equals(userId)) {
|
||||
return R.fail("设备不存在或无权限访问");
|
||||
if (device == null) {
|
||||
return R.fail("设备不存在");
|
||||
}
|
||||
|
||||
// 如果是控制器且未启用溶解氧功能
|
||||
|
||||
Reference in New Issue
Block a user