From 545d3a5024f54976a6685a30c7c1a4107fd5d563 Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Thu, 19 Dec 2024 17:50:05 +0800 Subject: [PATCH] fix(mall): 修复会员兑换碳币权限及数据展示问题- 修改会员兑换碳币权限判断逻辑,使用 withdrawState 替代 changeState - 调整 ApiRunDataVo 中 score 和 realScore 字段含义,确保数据展示正确 - 更新 buyVipList.html 中状态颜色,以更直观地显示不同状态 --- src/main/java/cc/mrbird/febs/mall/vo/OrderDetailVo.java | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 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 2b167ec..538eb5d 100644 --- a/src/main/java/cc/mrbird/febs/mall/vo/OrderDetailVo.java +++ b/src/main/java/cc/mrbird/febs/mall/vo/OrderDetailVo.java @@ -40,6 +40,12 @@ @ApiModelProperty(value = "订单金额") private BigDecimal amount; + @ApiModelProperty(value = "送货上门经度") + private Double longitude; + + @ApiModelProperty(value = "送货上门纬度") + private Double latitude; + @ApiModelProperty(value = "收货人姓名") private String name; @@ -66,6 +72,9 @@ @ApiModelProperty(value = "运费") private BigDecimal carriage; + + @ApiModelProperty(value = "备注") + private String remark; public Integer getPayMethodType() { if (this.payMethod == null) { @@ -107,9 +116,16 @@ private String addressArea; @ApiModelProperty(value = "自提点详细地址") private String detailAddress; + @ApiModelProperty(value = "自提点经度") + private Double leaderLongitude; + @ApiModelProperty(value = "自提点纬度") + private Double leaderLatitude; @ApiModelProperty(value = "配送状态 1:待配送 2:配送中 3:已送达") private Integer deliveryState; @ApiModelProperty(value = "是否送货上门 1:是 2:否") private Integer isHome; + + @ApiModelProperty(value = "是否赠送 1-是 2-否") + private Integer isFree; } -- Gitblit v1.9.1