From ba4fc2d37fc5903a96eb06bf72b54d5c4249e52b Mon Sep 17 00:00:00 2001 From: Derran Date: Tue, 14 May 2024 19:31:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9F=BA=E7=A1=80=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../user/response/UserGetMatchmakerFranchiseInfoVo.java | 4 ++-- .../qniao/dam/query/product/impl/ProductQueryServiceImpl.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dating-agency-mall-server/src/main/java/com/qniao/dam/api/query/product/user/response/UserGetMatchmakerFranchiseInfoVo.java b/dating-agency-mall-server/src/main/java/com/qniao/dam/api/query/product/user/response/UserGetMatchmakerFranchiseInfoVo.java index 431ad08..636f51b 100644 --- a/dating-agency-mall-server/src/main/java/com/qniao/dam/api/query/product/user/response/UserGetMatchmakerFranchiseInfoVo.java +++ b/dating-agency-mall-server/src/main/java/com/qniao/dam/api/query/product/user/response/UserGetMatchmakerFranchiseInfoVo.java @@ -8,8 +8,8 @@ import java.math.BigDecimal; @Data public class UserGetMatchmakerFranchiseInfoVo { - @ApiModelProperty("售价") - private BigDecimal unitSellingPrice; + @ApiModelProperty("加盟费") + private BigDecimal franchiseAmount; @ApiModelProperty("服务") private String servicePhone; diff --git a/dating-agency-mall-server/src/main/java/com/qniao/dam/query/product/impl/ProductQueryServiceImpl.java b/dating-agency-mall-server/src/main/java/com/qniao/dam/query/product/impl/ProductQueryServiceImpl.java index 049479d..c6a06e7 100644 --- a/dating-agency-mall-server/src/main/java/com/qniao/dam/query/product/impl/ProductQueryServiceImpl.java +++ b/dating-agency-mall-server/src/main/java/com/qniao/dam/query/product/impl/ProductQueryServiceImpl.java @@ -120,7 +120,7 @@ public class ProductQueryServiceImpl implements ProductQueryService { if (Objects.nonNull(product)) { List productSpecList = listProductSpecBy(product.getId()); if (CollUtil.isNotEmpty(productSpecList)) { - infoVo.setUnitSellingPrice(productSpecList.get(0).getUnitSellingPrice()); + infoVo.setFranchiseAmount(productSpecList.get(0).getUnitSellingPrice()); } } return infoVo;