默认初始化页面权限修改
This commit is contained in:
@@ -42,9 +42,10 @@ public class ShopPagePathServiceImpl extends ServiceImpl<ShopPagePathMapper, Sho
|
||||
permission.setShopId(StpKit.USER.getShopId());
|
||||
permission.setStaffId(staffId);
|
||||
permission.setPagePathId(item.getId());
|
||||
shopStaffPagePermissionMapper.insert(permission);
|
||||
// shopStaffPagePermissionMapper.insert(permission);
|
||||
// pageIdList.add(permission.getPagePathId());
|
||||
});
|
||||
return new ArrayList<>();
|
||||
}
|
||||
|
||||
return list(new QueryWrapper().in(ShopPagePath::getId, pageIdList));
|
||||
|
||||
Reference in New Issue
Block a user