From 0b6189c1c208a4f1c4cd4b230dba10b3581d1ff9 Mon Sep 17 00:00:00 2001 From: kongdeqiang <123456> Date: 星期四, 16 五月 2024 16:01:16 +0800 Subject: [PATCH] fix: 获取司机配送员信息接口修改 --- xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/entity/OrderTask.java | 17 +++++++++++++++-- 1 files changed, 15 insertions(+), 2 deletions(-) diff --git a/xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/entity/OrderTask.java b/xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/entity/OrderTask.java index fe7832c..2afa212 100644 --- a/xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/entity/OrderTask.java +++ b/xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/entity/OrderTask.java @@ -1,6 +1,8 @@ package cn.exrick.xboot.your.entity; import cn.exrick.xboot.core.base.XbootBaseEntity; +import cn.exrick.xboot.your.util.ImageShowUtil; +import cn.hutool.core.util.StrUtil; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.annotation.JsonFormat; @@ -80,7 +82,7 @@ @ApiModelProperty(value = "鏄惁椹跺嚭鏈堝彴锛�0锛氬惁 1:鏄級") private int isOut; - @ApiModelProperty(value = "0閰嶉�佷腑锛�1宸查�佽揪锛�3寮傚父绛炬敹") + @ApiModelProperty(value = "0閰嶉�佷腑锛�1宸查�佽揪锛�2寮傚父绛炬敹") private int status; @ApiModelProperty(value = "鏃犳硶閫佽揪鐨勫師鍥�") @@ -133,4 +135,15 @@ @TableField(exist = false) @ApiModelProperty(value = "璁㈠崟璇︽儏") private List<OrderDetail> orderDetails; -} \ No newline at end of file + + public String getImg() { + this.img = ImageShowUtil.getImgX(this.img); + return this.img; + } + public static void main(String[] args) { + String img = ",,http://111.63.178.115:9091/xboot/file/view/1712990736426864641,,/xboot/file/view/1712990822305239041,,"; + OrderTask o = new OrderTask(); + o.setImg(img); + System.out.println(o.getImg()); + } +} -- Gitblit v1.9.1