|
@@ -45,7 +45,12 @@ public class PolyvVideoController extends BaseController {
|
|
|
@ApiOperation("获取保利威视频信息详细信息")
|
|
|
@GetMapping("/{vid}")
|
|
|
public AjaxResult<PolyvVideoQuerVo> getInfo(@PathVariable("vid") String vid) throws Exception {
|
|
|
- return AjaxResult.success(iPolyvVideoService.queryById(vid));
|
|
|
+ try{
|
|
|
+ AjaxResult<PolyvVideoQuerVo> result = AjaxResult.success(iPolyvVideoService.queryById(vid));
|
|
|
+ return result;
|
|
|
+ }catch (Exception e){
|
|
|
+ return AjaxResult.error(500,"地址错误",null);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
@ApiOperation("获取保利威视频播放凭证")
|