| | |
| | | package cn.exrick.xboot.your.entity; |
| | | |
| | | import cn.exrick.xboot.your.util.ImageShowUtil; |
| | | import cn.hutool.core.util.StrUtil; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @ApiModelProperty(value = "订单日期") |
| | | private String orderDate; |
| | | |
| | | public String getImgs() { |
| | | this.imgs = ImageShowUtil.getImgX(this.imgs); |
| | | return this.imgs; |
| | | } |
| | | public String getReceiveImg() { |
| | | this.receiveImg = ImageShowUtil.getImgX(this.receiveImg); |
| | | return this.receiveImg; |
| | | } |
| | | |
| | | public static void main(String[] args) { |
| | | String img = ",,http://111.63.178.115:9091/xboot/file/view/1712990736426864641,,/xboot/file/view/1712990822305239041,,"; |
| | | String ReceiveImg = "http://111.63.178.115:9091/xboot/file/view/1712990736426864641"; |
| | | OrderTask2Imgs o = new OrderTask2Imgs(); |
| | | o.setImgs(img); |
| | | o.setReceiveImg(ReceiveImg); |
| | | System.out.println("receiveImg:"+o.getReceiveImg()); |
| | | System.out.println("imgs:"+o.getImgs()); |
| | | } |
| | | |
| | | } |