Showing
1 changed file
with
1 additions
and
1 deletions
... | ... | @@ -80,7 +80,7 @@ public class YtNoticeController extends BaseController { |
80 | 80 | } |
81 | 81 | |
82 | 82 | @PostMapping("save") |
83 | - @PreAuthorize("@check.checkPermissions({},{'api:yt:notice:post'})") | |
83 | + @PreAuthorize("@check.checkPermissions({},{'api:yt:notice:save:post'})") | |
84 | 84 | @ApiOperation("保存草稿") |
85 | 85 | public ResponseEntity<SysNoticeDTO> save(@Validated(AddGroup.class) @RequestBody SysNoticeDTO sysNoticeDTO) throws ThingsboardException { |
86 | 86 | sysNoticeDTO.setStatus(FastIotConstants.DraftStatus.DRAFT); | ... | ... |