fix: 忽略设备权限校验

V0.5.x
jay 2023-06-19 14:53:49 +08:00
parent 0a31f020f2
commit 4659484e63
2 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ public class DataOwnerService {
* Iduidid * Iduidid
*/ */
public void checkOwnerSave(ICommonData<?, ?> service, Owned<?> data) { public void checkOwnerSave(ICommonData<?, ?> service, Owned<?> data) {
checkOwner(service, data.getId()); // checkOwner(service, data.getId());
data.setUid(AuthUtil.getUserId()); data.setUid(AuthUtil.getUserId());
} }

View File

@ -194,7 +194,7 @@ public class ProductServiceImpl implements IProductService {
@Override @Override
public List<ProductModelVo> getModels(String productKey) { public List<ProductModelVo> getModels(String productKey) {
dataOwnerService.checkOwner(productData, productKey); // dataOwnerService.checkOwner(productData, productKey);
return MapstructUtils.convert(productModelData.findByProductKey(productKey), ProductModelVo.class); return MapstructUtils.convert(productModelData.findByProductKey(productKey), ProductModelVo.class);
} }