Administrator
2025-07-10 1bd4ff2dea7dde4592c31f6911255c9d28d45f87
feat(mall): 为衣服类型添加运费模板 ID

- 在 ApiClothesTypeVo 中添加 carriageRuleId 字段,用于表示运费模板 ID
- 在 ApiClothesServiceImpl 中为 clothesTypeVo 设置固定的运费模板 ID(10L)
2 files modified
4 ■■■■ changed files
src/main/java/cc/mrbird/febs/mall/service/impl/ApiClothesServiceImpl.java 1 ●●●● patch | view | raw | blame | history
src/main/java/cc/mrbird/febs/mall/vo/clothes/ApiClothesTypeVo.java 3 ●●●●● patch | view | raw | blame | history
src/main/java/cc/mrbird/febs/mall/service/impl/ApiClothesServiceImpl.java
@@ -92,6 +92,7 @@
            apiClothesTypeVo.setPatternState(clothesType.getPatternState());
            apiClothesTypeVo.setLocationState(clothesType.getLocationState());
            apiClothesTypeVo.setSizeState(clothesType.getSizeState());
            apiClothesTypeVo.setCarriageRuleId(10L);
        }
        return new FebsResponse().success().data(apiClothesTypeVo);
src/main/java/cc/mrbird/febs/mall/vo/clothes/ApiClothesTypeVo.java
@@ -10,6 +10,9 @@
    @ApiModelProperty(value = "ID")
    private Long id;
    @ApiModelProperty(value = "运费模板ID")
    private Long carriageRuleId;
    @ApiModelProperty(value = "名称")
    private String name;
    @ApiModelProperty(value = "小图标")