From 0ba972b0d4ac752c5f0eb19a1d2e01b9de38e215 Mon Sep 17 00:00:00 2001 From: tangwenkang <2720983602@qq.com> Date: Mon, 6 Nov 2023 20:31:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8D=B0=E5=8A=A0=E5=AF=86=E5=86=85?= =?UTF-8?q?=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/health/video/server/service/impl/VideoServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/health-video-server/src/main/java/com/health/video/server/service/impl/VideoServiceImpl.java b/health-video-server/src/main/java/com/health/video/server/service/impl/VideoServiceImpl.java index 17496ff..0d075d9 100644 --- a/health-video-server/src/main/java/com/health/video/server/service/impl/VideoServiceImpl.java +++ b/health-video-server/src/main/java/com/health/video/server/service/impl/VideoServiceImpl.java @@ -253,7 +253,7 @@ public class VideoServiceImpl implements VideoService { File localFile = new File(filePath); // 计算文件的 SHA-256 哈希值(比MD5加密更安全) String fileMD5 = calculateFileSHA256(localFile); - System.out.println(fileMD5); + System.out.println("SHA-256加密内容为:{}"+fileMD5); // 检查目录是否存在,如果不存在则创建 File localDirectory = localFile.getParentFile(); if (!localDirectory.exists()) {