diff --git a/iot-module/iot-manager/src/main/java/cc/iotkit/manager/service/DataOwnerService.java b/iot-module/iot-manager/src/main/java/cc/iotkit/manager/service/DataOwnerService.java index 567b9318..c94a20c3 100644 --- a/iot-module/iot-manager/src/main/java/cc/iotkit/manager/service/DataOwnerService.java +++ b/iot-module/iot-manager/src/main/java/cc/iotkit/manager/service/DataOwnerService.java @@ -98,7 +98,7 @@ public class DataOwnerService { * 从库中取对应数据Id的数据中的uid是否与当前登录用户一致,并把当前用户id设置到数据中 */ public void checkOwnerSave(ICommonData service, Owned data) { - checkOwner(service, data.getId()); +// checkOwner(service, data.getId()); data.setUid(AuthUtil.getUserId()); } diff --git a/iot-module/iot-manager/src/main/java/cc/iotkit/manager/service/impl/ProductServiceImpl.java b/iot-module/iot-manager/src/main/java/cc/iotkit/manager/service/impl/ProductServiceImpl.java index 8beb6784..b5af47a0 100644 --- a/iot-module/iot-manager/src/main/java/cc/iotkit/manager/service/impl/ProductServiceImpl.java +++ b/iot-module/iot-manager/src/main/java/cc/iotkit/manager/service/impl/ProductServiceImpl.java @@ -194,7 +194,7 @@ public class ProductServiceImpl implements IProductService { @Override public List getModels(String productKey) { - dataOwnerService.checkOwner(productData, productKey); +// dataOwnerService.checkOwner(productData, productKey); return MapstructUtils.convert(productModelData.findByProductKey(productKey), ProductModelVo.class); }