aQiu6 3 months ago
parent
commit
b01fade7d5
1 changed files with 1 additions and 8 deletions
  1. 1 8
      src/main/java/org/example/mybatisplus/module/vo/Attachment.java

+ 1 - 8
src/main/java/org/example/mybatisplus/module/vo/Attachment.java

@@ -32,14 +32,7 @@ public class Attachment {
         this.fileName = filePath.substring(filePath.lastIndexOf("/") + 1,filePath.lastIndexOf("."));
         this.base64 = ImageUtils.urlTobase64(filePath);
     }
-
-    public String getImg() {
-        return img;
-    }
-
-    public void setImg(String img) {
-        this.img = img;
-    }
+    
 
     public String getFileType() {
         return fileType;