fix bug 6236
This commit is contained in:
parent
c870cd87bc
commit
b681da09bf
|
|
@ -1,5 +1,6 @@
|
||||||
package com.bonus.canteen.core.supermarket.domain;
|
package com.bonus.canteen.core.supermarket.domain;
|
||||||
|
|
||||||
|
import com.bonus.canteen.core.common.utils.FileUrlUtil;
|
||||||
import com.bonus.common.core.annotation.Excel;
|
import com.bonus.common.core.annotation.Excel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
@ -113,5 +114,7 @@ public class SupermarketMaterial extends BaseEntity {
|
||||||
@ApiModelProperty(value = "简介")
|
@ApiModelProperty(value = "简介")
|
||||||
private String description;
|
private String description;
|
||||||
|
|
||||||
|
public String getImgUrl() {
|
||||||
|
return FileUrlUtil.getFileUrl(imgUrl);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue