Showing
1 changed file
with
2 additions
and
2 deletions
... | ... | @@ -36,8 +36,8 @@ public class TkVideoControlController extends BaseController { |
36 | 36 | |
37 | 37 | @GetMapping("/start/{deviceId}/{channelId}") |
38 | 38 | @ApiOperation(value = "视频点播/预览") |
39 | - @PreAuthorize( | |
40 | - "@check.checkPermissions({'SYS_ADMIN','PLATFORM_ADMIN','TENANT_ADMIN','CUSTOMER_USER'},{'api:yt:video:control:play'})") | |
39 | +// @PreAuthorize("@check.checkPermissions({'SYS_ADMIN','PLATFORM_ADMIN','TENANT_ADMIN','CUSTOMER_USER'},{'api:yt:video:control:play'})") | |
40 | + @PreAuthorize("hasAnyAuthority('SYS_ADMIN','PLATFORM_ADMIN','TENANT_ADMIN','CUSTOMER_USER')") | |
41 | 41 | public DeferredResult<ResponseResult<StreamContentDTO>> startPlay( |
42 | 42 | @PathVariable("deviceId") String tbDeviceId, @PathVariable("channelId") String channelId) |
43 | 43 | throws ThingsboardException { | ... | ... |