vod普通加密

This commit is contained in:
wangjinlei
2024-07-19 09:46:02 +08:00
parent 10796fe6c6
commit 2228ed148d
7 changed files with 122 additions and 13 deletions

View File

@@ -218,6 +218,14 @@ public class CourseController {
return R.ok().put("result",decryptKMSDataKeyResponseBody);
}
@RequestMapping("/mytt2")
public R mytt2(@RequestBody Map<String,String> map){
GetPlayInfoResponseBody urlbody = SpdbUtil.getUrl(map.get("vid"));
String url = urlbody==null?null:urlbody.getPlayInfoList().getPlayInfo().get(0).getPlayURL();
return R.ok().put("result",url);
}
@RequestMapping("/ttt")
@SneakyThrows
public R ttt(){