From c014190d15b41704085d2e96b3fb51d39d8c2016 Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Wed, 12 Feb 2025 13:39:07 +0800 Subject: [PATCH] refactor(mall): 优化订单商品名称的显示格式 --- src/main/java/cc/mrbird/febs/mall/vo/OrderDetailVo.java | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/src/main/java/cc/mrbird/febs/mall/vo/OrderDetailVo.java b/src/main/java/cc/mrbird/febs/mall/vo/OrderDetailVo.java index 5c6dae2..cfd077b 100644 --- a/src/main/java/cc/mrbird/febs/mall/vo/OrderDetailVo.java +++ b/src/main/java/cc/mrbird/febs/mall/vo/OrderDetailVo.java @@ -1,6 +1,5 @@ package cc.mrbird.febs.mall.vo; -import com.baomidou.mybatisplus.annotation.TableField; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; @@ -27,6 +26,10 @@ @ApiModelProperty(value = "下单时间") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date orderTime; + + + @ApiModelProperty(value = "支付状态 1-支付成功 0-未支付") + private String payResult; @ApiModelProperty(value = "支付方式") private String payMethod; @@ -72,6 +75,9 @@ @ApiModelProperty(value = "运费") private BigDecimal carriage; + + @ApiModelProperty(value = "备注") + private String remark; public Integer getPayMethodType() { if (this.payMethod == null) { @@ -121,5 +127,8 @@ private Integer deliveryState; @ApiModelProperty(value = "是否送货上门 1:是 2:否") private Integer isHome; + + @ApiModelProperty(value = "是否赠送 1-是 2-否") + private Integer isFree; } -- Gitblit v1.9.1