vod普通加密
This commit is contained in:
@@ -8,6 +8,8 @@ import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.apache.commons.codec.binary.Base64;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
@Slf4j
|
||||
@RestController
|
||||
@RequestMapping("/sys/vodAli")
|
||||
@@ -36,5 +38,11 @@ public class VodAliController {
|
||||
}
|
||||
|
||||
|
||||
@PostMapping("/uploadCallback")
|
||||
public void uploadCallback(@RequestBody Map<String,Object> map) throws Exception {
|
||||
String vid = String.valueOf(map.get("VideoId"));
|
||||
SpdbUtil.vodTranslationM3u8(vid);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user