trading-order-admin/src/main/java/com/yami/trading/admin/controller/UploadFileController.java
@@ -30,7 +30,7 @@ public Result<FileInfoVo> uploadFile(FileUploadParamsModel model) { try { if (model.getFile().getSize() / 1000L > 4500) { throw new YamiShopBindException("图片大小不能超过4M"); throw new YamiShopBindException("Image size cannot exceed 4MB"); } String path; FileInfoVo fileInfoVo=new FileInfoVo(); @@ -52,7 +52,7 @@ } catch (Exception e) { e.printStackTrace(); throw new YamiShopBindException("文件上传失败"); throw new YamiShopBindException("File upload failed"); } } }