|  | @ -248,87 +248,6 @@ public class YsDeviceController extends BaseController {
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | //    @ApiOperation("获取上传录像授权信息")
 | 
	
		
			
				|  |  | //    @RequestMapping(value = "getVideoKey", produces = "application/x-www-form-urlencoded;charset=UTF-8", method = {RequestMethod.POST,RequestMethod.GET})
 | 
	
		
			
				|  |  | //    public String getVideoKey(
 | 
	
		
			
				|  |  | //            HttpServletRequest request){
 | 
	
		
			
				|  |  | //        try {
 | 
	
		
			
				|  |  | //
 | 
	
		
			
				|  |  | //
 | 
	
		
			
				|  |  | //            return write(200,"查询成功","data",ysDeviceService.getVideoKey(request));
 | 
	
		
			
				|  |  | //        }catch (Exception e){
 | 
	
		
			
				|  |  | //            return error(-1,"error",e);
 | 
	
		
			
				|  |  | //        }
 | 
	
		
			
				|  |  | //    }
 | 
	
		
			
				|  |  | //
 | 
	
		
			
				|  |  | //    @ApiOperation("查询录像列表(无法区分用户)")
 | 
	
		
			
				|  |  | //    @RequestMapping(value = "videoList", produces = "application/x-www-form-urlencoded;charset=UTF-8", method = {RequestMethod.POST,RequestMethod.GET})
 | 
	
		
			
				|  |  | //    public String videoList(
 | 
	
		
			
				|  |  | //            @ApiParam(name="name",required = false,value="录像名称,支持模糊搜索")
 | 
	
		
			
				|  |  | //            @RequestParam(value = "name",required = false) String name,
 | 
	
		
			
				|  |  | //            @ApiParam(name="type",required = false,value="视频类型 默认查询全部视频/录像,type=playback,表示查询直播暂存(录像);type=vod,表示查询上传、剪辑、合并视频。")
 | 
	
		
			
				|  |  | //            @RequestParam(value = "type",required = false) String type,
 | 
	
		
			
				|  |  | //            @ApiParam(name="page",required = false,value="page")
 | 
	
		
			
				|  |  | //            @RequestParam(value = "page",required = false,defaultValue = "1") int page,
 | 
	
		
			
				|  |  | //            @ApiParam(name="count",required = false,value=",默认为 20")
 | 
	
		
			
				|  |  | //            @RequestParam(value = "count",required = false,defaultValue = "20") int count,
 | 
	
		
			
				|  |  | //            HttpServletRequest request){
 | 
	
		
			
				|  |  | //        try {
 | 
	
		
			
				|  |  | //
 | 
	
		
			
				|  |  | //
 | 
	
		
			
				|  |  | //            return write(200,"查询成功","data",ysDeviceService.videoList(name,type,page,count));
 | 
	
		
			
				|  |  | //        }catch (Exception e){
 | 
	
		
			
				|  |  | //            return error(-1,"error",e);
 | 
	
		
			
				|  |  | //        }
 | 
	
		
			
				|  |  | //    }
 | 
	
		
			
				|  |  | //
 | 
	
		
			
				|  |  | //    @ApiOperation("批量获取录像详情")
 | 
	
		
			
				|  |  | //    @RequestMapping(value = "videoDetailList", produces = "application/x-www-form-urlencoded;charset=UTF-8", method = {RequestMethod.POST,RequestMethod.GET})
 | 
	
		
			
				|  |  | //    public String videoDetailList(
 | 
	
		
			
				|  |  | //            @ApiParam(name = "vod_ids",value="录像id",required = true)
 | 
	
		
			
				|  |  | //            @RequestParam(value="vod_ids")String[] vod_ids,
 | 
	
		
			
				|  |  | //            HttpServletRequest request){
 | 
	
		
			
				|  |  | //        try {
 | 
	
		
			
				|  |  | //
 | 
	
		
			
				|  |  | //
 | 
	
		
			
				|  |  | //            return write(200,"查询成功","data",ysDeviceService.videoDetailList(vod_ids));
 | 
	
		
			
				|  |  | //        }catch (Exception e){
 | 
	
		
			
				|  |  | //            return error(-1,"error",e);
 | 
	
		
			
				|  |  | //        }
 | 
	
		
			
				|  |  | //    }
 | 
	
		
			
				|  |  | //
 | 
	
		
			
				|  |  | //    @ApiOperation("查询录像详情")
 | 
	
		
			
				|  |  | //    @RequestMapping(value = "videoDetail", produces = "application/x-www-form-urlencoded;charset=UTF-8", method = {RequestMethod.POST,RequestMethod.GET})
 | 
	
		
			
				|  |  | //    public String videoDetail(
 | 
	
		
			
				|  |  | //            @ApiParam(name = "vod_id",value="录像id",required = true)
 | 
	
		
			
				|  |  | //            @RequestParam(value="vod_id")String vod_id,
 | 
	
		
			
				|  |  | //            HttpServletRequest request){
 | 
	
		
			
				|  |  | //        try {
 | 
	
		
			
				|  |  | //
 | 
	
		
			
				|  |  | //
 | 
	
		
			
				|  |  | //            return write(200,"查询成功","data",ysDeviceService.videoDetail(vod_id));
 | 
	
		
			
				|  |  | //        }catch (Exception e){
 | 
	
		
			
				|  |  | //            return error(-1,"error",e);
 | 
	
		
			
				|  |  | //        }
 | 
	
		
			
				|  |  | //    }
 | 
	
		
			
				|  |  | //
 | 
	
		
			
				|  |  | //    @ApiOperation("上传录像")
 | 
	
		
			
				|  |  | //    @RequestMapping(value = "videoUpload", produces = "application/x-www-form-urlencoded;charset=UTF-8", method = {RequestMethod.POST,RequestMethod.GET})
 | 
	
		
			
				|  |  | //    public String videoUpload(
 | 
	
		
			
				|  |  | //            HttpServletRequest request,
 | 
	
		
			
				|  |  | //            @ApiParam(value = "文件", required = true)
 | 
	
		
			
				|  |  | //            @RequestParam(value = "file", required = true) MultipartFile file){
 | 
	
		
			
				|  |  | //        try {
 | 
	
		
			
				|  |  | //
 | 
	
		
			
				|  |  | //            String originalFilename = file.getOriginalFilename();
 | 
	
		
			
				|  |  | //            InputStream inputStream = file.getInputStream();
 | 
	
		
			
				|  |  | //
 | 
	
		
			
				|  |  | //            return write(200,"查询成功","data",ysDeviceService.videoUpload(request));
 | 
	
		
			
				|  |  | //        }catch (Exception e){
 | 
	
		
			
				|  |  | //            return error(-1,"error",e);
 | 
	
		
			
				|  |  | //        }
 | 
	
		
			
				|  |  | //    }
 | 
	
		
			
				|  |  | //
 | 
	
		
			
				|  |  |     @ApiOperation("获取视频地址信息(录像获取,直播地址另一个接口)")
 | 
	
		
			
				|  |  |     @RequestMapping(value = "videoList2", produces = "application/x-www-form-urlencoded;charset=UTF-8", method = {RequestMethod.POST,RequestMethod.GET})
 | 
	
		
			
				|  |  |     public String videoUpload(
 |