Bladeren bron

修改bug

jinshihui 1 maand geleden
bovenliggende
commit
b55f521048

+ 2 - 2
nightFragrance-admin/src/main/java/com/ylx/web/controller/common/CommonController.java

@@ -109,9 +109,9 @@ public class CommonController {
      */
     @ApiOperation("通用上传视频请求(单个)")
     @PostMapping("/uploadVi")
-    public AjaxResult uploadFileVi(MultipartFile video) throws Exception {
+    public AjaxResult uploadFileVi(MultipartFile file) throws Exception {
         try {
-            return fileService.uploadFile(video);
+            return fileService.uploadFile(file);
         } catch (Exception e) {
             e.printStackTrace();
             throw new RuntimeException(e);