feat(mall): 为衣服类型添加运费模板 ID
- 在 ApiClothesTypeVo 中添加 carriageRuleId 字段,用于表示运费模板 ID
- 在 ApiClothesServiceImpl 中为 clothesTypeVo 设置固定的运费模板 ID(10L)
| | |
| | | apiClothesTypeVo.setPatternState(clothesType.getPatternState()); |
| | | apiClothesTypeVo.setLocationState(clothesType.getLocationState()); |
| | | apiClothesTypeVo.setSizeState(clothesType.getSizeState()); |
| | | apiClothesTypeVo.setCarriageRuleId(10L); |
| | | } |
| | | |
| | | return new FebsResponse().success().data(apiClothesTypeVo); |
| | |
| | | |
| | | @ApiModelProperty(value = "ID") |
| | | private Long id; |
| | | |
| | | @ApiModelProperty(value = "运费模板ID") |
| | | private Long carriageRuleId; |
| | | @ApiModelProperty(value = "名称") |
| | | private String name; |
| | | @ApiModelProperty(value = "小图标") |