Commit fb79858f authored by fangxinjiang's avatar fangxinjiang

Merge remote-tracking branch 'origin/develop' into develop

parents 845194a1 b517383e
......@@ -89,7 +89,7 @@ public class DataAuthController {
@Operation(summary = "新增/编辑数据权限配置")
@SysLog("系统管理-数据权限-新增/编辑数据权限配置")
@PostMapping("/saveOrUpdate")
//@PreAuthorize("@pms.hasPermission('sys_data_auth_add')")
@PreAuthorize("@pms.hasPermission('sys_permission_add')")
public R<String> saveOrUpdate(@RequestBody SysDataAuthVO sysDataAuthVO) {
return sysDataAuthService.saveDataAuth(sysDataAuthVO);
}
......@@ -103,7 +103,7 @@ public class DataAuthController {
@Operation(summary = "删除数据权限配置")
@SysLog("系统管理-数据权限-删除数据权限配置")
@DeleteMapping("/{id:\\d+}")
@PreAuthorize("@pms.hasPermission('sys_data_auth_del')")
@PreAuthorize("@pms.hasPermission('sys_permission_del')")
public R<Boolean> removeById(@PathVariable String 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