fix:校准记录,去掉权限校验,登录用户都可以调用。

This commit is contained in:
tianyongbao
2026-04-15 16:33:21 +08:00
parent b58f9c3b42
commit 521c1ca344

View File

@@ -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("设备不存在");
}
// 如果是控制器且未启用溶解氧功能