24282 2 years ago
parent
commit
c47b2059e4

+ 2 - 1
hx-file/src/main/java/com/fjhx/file/controller/FileInfoController.java

@@ -15,6 +15,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RestController;
 
 import java.util.List;
+import java.util.Map;
 
 /**
  * <p>
@@ -44,7 +45,7 @@ public class FileInfoController {
      * 文件表列表
      */
     @PostMapping("/getList")
-    public List<FileInfoVo> getList(@Validated @RequestBody FileInfoSelectDto dto) {
+    public Map<String, List<FileInfoVo>> getList(@Validated @RequestBody FileInfoSelectDto dto) {
         return fileInfoService.getList(dto);
     }