String video = "";//base64编码的视频
//拼接路径
        String filePath = PathUtil.getImgBasePath() + File.separator + certification.getNumber() + File.separator + "legalVideo.MP4";
//文件写入
        Files.write(Paths.get(filePath), java.util.Base64.getDecoder().decode(video), StandardOpenOption.CREATE);

 

相关文章:

  • 2022-12-23
  • 2021-06-15
  • 2021-12-03
  • 2022-01-30
  • 2021-08-22
  • 2022-12-23
  • 2021-09-10
猜你喜欢
  • 2021-12-05
  • 2021-09-09
  • 2022-12-23
  • 2022-12-23
  • 2021-10-20
  • 2021-12-09
  • 2022-12-23
相关资源
相似解决方案