From 92060ffcf6be927b5b092c10f633d59345d85382 Mon Sep 17 00:00:00 2001 From: tangzh Date: Sat, 19 Jul 2025 21:46:37 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/me/zhengjie/modules/front/rest/BusUserController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eladmin/eladmin-system/src/main/java/me/zhengjie/modules/front/rest/BusUserController.java b/eladmin/eladmin-system/src/main/java/me/zhengjie/modules/front/rest/BusUserController.java index cdfeea0..30d6f4c 100644 --- a/eladmin/eladmin-system/src/main/java/me/zhengjie/modules/front/rest/BusUserController.java +++ b/eladmin/eladmin-system/src/main/java/me/zhengjie/modules/front/rest/BusUserController.java @@ -94,7 +94,7 @@ public class BusUserController { throw new BadRequestException("只能上传图片"); } String type = FileUtil.getFileType(suffix); - String path = fileProperties.getPath().getPath(); + String path = fileProperties.getPath().getAvatar(); File uploadFile = FileUtil.upload(file, path + type + File.separator); if(ObjectUtil.isNull(uploadFile)){ throw new BadRequestException("上传失败");