Commit b6510714 authored by hongguangwu's avatar hongguangwu

数据权限配置-权限单词变更sys_permission_del

parent 11fa2dbd
...@@ -89,7 +89,7 @@ public class DataAuthController { ...@@ -89,7 +89,7 @@ public class DataAuthController {
@Operation(summary = "新增/编辑数据权限配置") @Operation(summary = "新增/编辑数据权限配置")
@SysLog("系统管理-数据权限-新增/编辑数据权限配置") @SysLog("系统管理-数据权限-新增/编辑数据权限配置")
@PostMapping("/saveOrUpdate") @PostMapping("/saveOrUpdate")
//@PreAuthorize("@pms.hasPermission('sys_data_auth_add')") @PreAuthorize("@pms.hasPermission('sys_permission_add')")
public R<String> saveOrUpdate(@RequestBody SysDataAuthVO sysDataAuthVO) { public R<String> saveOrUpdate(@RequestBody SysDataAuthVO sysDataAuthVO) {
return sysDataAuthService.saveDataAuth(sysDataAuthVO); return sysDataAuthService.saveDataAuth(sysDataAuthVO);
} }
...@@ -103,7 +103,7 @@ public class DataAuthController { ...@@ -103,7 +103,7 @@ public class DataAuthController {
@Operation(summary = "删除数据权限配置") @Operation(summary = "删除数据权限配置")
@SysLog("系统管理-数据权限-删除数据权限配置") @SysLog("系统管理-数据权限-删除数据权限配置")
@DeleteMapping("/{id:\\d+}") @DeleteMapping("/{id:\\d+}")
@PreAuthorize("@pms.hasPermission('sys_data_auth_del')") @PreAuthorize("@pms.hasPermission('sys_permission_del')")
public R<Boolean> removeById(@PathVariable String id) { public R<Boolean> removeById(@PathVariable String id) {
return R.ok(sysDataAuthService.removeDataAuthById(id)); return R.ok(sysDataAuthService.removeDataAuthById(id));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment