fix: 忽略设备权限校验
parent
0a31f020f2
commit
4659484e63
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
|
@ -194,7 +194,7 @@ public class ProductServiceImpl implements IProductService {
|
|||
|
||||
@Override
|
||||
public List<ProductModelVo> getModels(String productKey) {
|
||||
dataOwnerService.checkOwner(productData, productKey);
|
||||
// dataOwnerService.checkOwner(productData, productKey);
|
||||
return MapstructUtils.convert(productModelData.findByProductKey(productKey), ProductModelVo.class);
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue