From c42614978ff12013a1eabebd0289b27169a5784f Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期二, 06 五月 2025 17:25:56 +0800
Subject: [PATCH] 1、实现万功能token(0000-0000-1234-9876-5); 2、web端单独实现命令结果等待器,并相应修改相关部分; 3、web端实现透传命令; 4、修改一些不当注释; 5、优化一些代码。

---
 pipIrr-platform/pipIrr-web/pipIrr-web-file/src/main/java/com/dy/pipIrrWebFile/fm/FmCtrl.java |   18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)

diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-file/src/main/java/com/dy/pipIrrWebFile/fm/FmCtrl.java b/pipIrr-platform/pipIrr-web/pipIrr-web-file/src/main/java/com/dy/pipIrrWebFile/fm/FmCtrl.java
index 68b27e5..64d7d15 100644
--- a/pipIrr-platform/pipIrr-web/pipIrr-web-file/src/main/java/com/dy/pipIrrWebFile/fm/FmCtrl.java
+++ b/pipIrr-platform/pipIrr-web/pipIrr-web-file/src/main/java/com/dy/pipIrrWebFile/fm/FmCtrl.java
@@ -10,7 +10,7 @@
 import java.util.List;
 
 /**
- * 鍗曠偣鐧诲綍锛�
+ * 鍒嗗竷寮弚eb鏂囦欢绯荤粺绠$悊绯荤粺
  */
 @Slf4j
 @RestController
@@ -129,5 +129,21 @@
         return rvo ;
     }
 
+    /**
+     * 瑙f瀽鍝堝笇鍊奸泦鍚堬紝璁$畻鍑鸿杩欎簺鍝堝笇鍊煎搴旂殑鏂囦欢鏈嶅姟鍣ㄥ睘鎬�
+     * @param hashCodes
+     * @return 鏂囦欢鏈嶅姟鍣ㄥ睘鎬у璞¢泦鍚�
+     */
+    @PostMapping(path = "parseHashcodeList")
+    public FileRestVo[] parseHashcodeList(List<Integer> hashCodes){
+        List<FileRestVo> reList = new ArrayList<>() ;
+        if(hashCodes != null && hashCodes.size() > 0){
+            for(Integer hashCode : hashCodes){
+                reList.add(parseHashcode(hashCode)) ;
+            }
+        }
+        return reList.toArray(new FileRestVo[0]) ;
+    }
+
 
 }

--
Gitblit v1.8.0