添加获取视频设备播放地址接口等

This commit is contained in:
mi9688 2024-11-08 17:41:37 +08:00
parent 1be9b59b0c
commit 4cd7499be5
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ public class YingshiyunVideoController extends BaseController {
* @param deviceSerial 设备的序列号/编号
* @return 视频播放地址
*/
@GetMapping("/video-playUrl/get")
@GetMapping("/videoPlayUrl/get")
public AjaxResult getVideoUrl(String deviceSerial){
return success(yingshiyunService.getVideoPlayUrl(deviceSerial));
}

View File

@ -169,7 +169,7 @@ public class ProjectServiceImpl implements IProjectService
SysDept sysDept = deptService.selectDeptById(100L);
List<SysMenu> sysMenuList = sysMenuService.selectMenuList(new SysMenu(), sysDept.getDeptUserId());
Long[] menuIdList = sysMenuList.stream().map(SysMenu::getMenuId)
.filter(menuId-> menuId!=3469L&&menuId!=3L&&menuId!=2L &&menuId!=3468L)
.filter(menuId-> menuId!=3469L&&menuId!=3L&&menuId!=2L &&menuId!=3468L&&menuId!=102L)
.toArray(Long[]::new);
SysRole sysRole = new SysRole();
sysRole.setRoleName("管理员");