diff --git a/src/main/java/com/huaheng/pc/config/corporation/domain/Corporation.java b/src/main/java/com/huaheng/pc/config/corporation/domain/Corporation.java index 4482930..dbef756 100644 --- a/src/main/java/com/huaheng/pc/config/corporation/domain/Corporation.java +++ b/src/main/java/com/huaheng/pc/config/corporation/domain/Corporation.java @@ -1,5 +1,6 @@ package com.huaheng.pc.config.corporation.domain; +import com.alibaba.fastjson.annotation.JSONField; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; @@ -108,6 +109,7 @@ public class Corporation implements Serializable { * 拼装图片存储 * @return */ + @JSONField(serialize = false) public String getSavePath(){ return this.getBaseAddress() + this.getSubPath(); } @@ -116,6 +118,7 @@ public class Corporation implements Serializable { * 拼装图片相对路径 * @return */ + @JSONField(serialize = false) public String getSubPath(){ return "img/corporation/" + this.getId() + "/"; } @@ -124,6 +127,7 @@ public class Corporation implements Serializable { * 取pLogoBig的存储路径 * @return */ + @JSONField(serialize = false) public String getPLogoBigPath(){ return this.getBaseAddress() + this.getPLogoBig(); } @@ -132,6 +136,7 @@ public class Corporation implements Serializable { * 取pLogoSmall的存储路径 * @return */ + @JSONField(serialize = false) public String getPLogoSmallPath(){ return this.getBaseAddress() + this.getPLogoSmall(); } @@ -140,6 +145,7 @@ public class Corporation implements Serializable { * 取pIcon的存储路径 * @return */ + @JSONField(serialize = false) public String getPIconPath(){ return this.getBaseAddress() + this.getPIcon(); }