fix: 修复部分权限问题

pull/19/head
Parker 3 years ago
parent 32d6b60497
commit 6182aaae06

@ -202,7 +202,7 @@ public class SysAreaRestController extends BaseRestController<SysArea, SysAreaMo
* @return ResultVo
*/
@ApiOperation(value = "删除地域数据", notes = "删除地域数据")
@RequiresPermissions("system_area_update")
@RequiresPermissions("system_area_delete")
@EnableLog
@Override
public ResultVo<?> del(String id){
@ -219,7 +219,7 @@ public class SysAreaRestController extends BaseRestController<SysArea, SysAreaMo
* @return ResultVo
*/
@ApiOperation(value = "批量删除地域数据", notes = "批量删除地域数据")
@RequiresPermissions("system_area_update")
@RequiresPermissions("system_area_delete")
@EnableLog
@Override
public ResultVo<?> delAll(String ids){

@ -377,7 +377,7 @@ public class SysOrgRestController extends BaseRestController<SysOrg, SysOrgModel
* @return ResultVo
*/
@ApiOperation(value = "删除组织机构数据", notes = "删除组织机构数据")
@RequiresPermissions("system_org_update")
@RequiresPermissions("system_org_delete")
@EnableLog
@Override
public ResultVo<?> del(String id){
@ -394,7 +394,7 @@ public class SysOrgRestController extends BaseRestController<SysOrg, SysOrgModel
* @return ResultVo
*/
@ApiOperation(value = "批量删除组织机构数据", notes = "批量删除组织机构数据")
@RequiresPermissions("system_org_update")
@RequiresPermissions("system_org_delete")
@EnableLog
@Override
public ResultVo<?> delAll(String ids){

Loading…
Cancel
Save