Browse Source

上传下载文件注释

zishan-an 11 months ago
parent
commit
84d0e28e72

+ 1 - 1
src/main/java/com/kexun/controller/ReportController.java

@@ -61,7 +61,7 @@ public class ReportController {
 
 
     /**
-     * 文件下载
+     * xml及json文件下载
      * @param filename
      * @return
      * @throws IOException

+ 7 - 0
src/main/java/com/kexun/controller/UploadController.java

@@ -50,6 +50,10 @@ public class UploadController {
     @Value("${report.file.jsonTargetPath}")
     private String jsonTargetPath;
 
+
+    /**
+     * 上传xml及JSON文件
+     */
     @PostMapping("/uploadUi")
     public Result uploadUi(@RequestParam("files") MultipartFile[] files ,@RequestParam("customerName") String customerName,
                            @RequestParam("headInfId") String headInfId) {
@@ -95,6 +99,9 @@ public class UploadController {
 
     }
 
+    /**
+     * 上传mod文件
+     */
     @PostMapping("/uploadMod")
     public Result uploadMod(@RequestParam("files") MultipartFile[] files ,@RequestParam("customerName") String customerName,
                             @RequestParam("headInfId") String headInfId) {