初始化视频首次加载的时间
This commit is contained in:
@@ -107,7 +107,8 @@ public class CourseController {
|
||||
|
||||
@RequestMapping("/getPlayAuth")
|
||||
public R getPlayAuth(@RequestBody Map<String,String> map) throws Exception {
|
||||
String playAuth = SpdbUtil.getPlayAuth(map.get("vid"));
|
||||
GetVideoPlayAuthResponse vid = SpdbUtil.getPlayAuth(map.get("vid"));
|
||||
String playAuth = vid.getBody().getPlayAuth();
|
||||
return R.ok().put("playAuth",playAuth);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user