From 8247ccb1b4d8dfa5e1e8644cde340c43c2dffe00 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期三, 23 十月 2024 10:15:25 +0800
Subject: [PATCH] web分布式文件系统,增加一个分析文件hash值集合的方法

---
 pms-parent/pms-web-other/src/main/java/com/dy/pmsOther/dyFm/FmCtrl.java |   19 ++++++++++++++++++-
 1 files changed, 18 insertions(+), 1 deletions(-)

diff --git a/pms-parent/pms-web-other/src/main/java/com/dy/pmsOther/dyFm/FmCtrl.java b/pms-parent/pms-web-other/src/main/java/com/dy/pmsOther/dyFm/FmCtrl.java
index df8e93d..c4b85b9 100644
--- a/pms-parent/pms-web-other/src/main/java/com/dy/pmsOther/dyFm/FmCtrl.java
+++ b/pms-parent/pms-web-other/src/main/java/com/dy/pmsOther/dyFm/FmCtrl.java
@@ -10,7 +10,7 @@
 import java.util.List;
 
 /**
- * 鍗曠偣鐧诲綍锛�
+ * 鍒嗗竷寮弚eb鏂囦欢绯荤粺绠$悊绯荤粺
  */
 @Slf4j
 @RestController
@@ -130,4 +130,21 @@
     }
 
 
+    /**
+     * 瑙f瀽鍝堝笇鍊硷紝璁$畻鍑鸿鍝堝笇鍊煎搴旂殑鏂囦欢鏈嶅姟鍣ㄥ睘鎬�
+     * @param hashCodes
+     * @return
+     */
+    @PostMapping(path = "parseHashcodeList")
+    public FileRestVo[] parseHashcodeList(List<Integer> hashCodes){
+        List<FileRestVo> rList = new ArrayList<FileRestVo>() ;
+        if(hashCodes != null && hashCodes.size() > 0){
+            for (Integer hashCode : hashCodes){
+                rList.add(parseHashcode(hashCode)) ;
+            }
+        }
+        return rList.toArray(new FileRestVo[0]) ;
+    }
+
+
 }

--
Gitblit v1.8.0