Commit 5facac733039e924c293ae892d289bd154187e9d

Authored by niou233
1 parent daa7d14b

refactor: 会员商品收藏

yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/favorite/vo/ProductFavoriteBaseVO.java
... ... @@ -16,6 +16,4 @@ public class ProductFavoriteBaseVO {
16 16 @NotNull(message = "用户编号不能为空")
17 17 private Long userId;
18 18  
19   -
20   -
21 19 }
... ...
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/favorite/vo/ProductFavoriteBatchReqVO.java deleted
1   -package cn.iocoder.yudao.module.product.controller.admin.favorite.vo;
2   -
3   -import io.swagger.v3.oas.annotations.media.Schema;
4   -import lombok.Data;
5   -import lombok.ToString;
6   -
7   -import javax.validation.constraints.NotNull;
8   -import java.util.List;
9   -
10   -import static io.swagger.v3.oas.annotations.media.Schema.RequiredMode.REQUIRED;
11   -
12   -@Schema(description = "管理后台 - 商品收藏的批量 Request VO")
13   -@Data
14   -@ToString(callSuper = true)
15   -public class ProductFavoriteBatchReqVO extends ProductFavoriteBaseVO{
16   -
17   - @Schema(description = "商品 SPU 编号数组", requiredMode = REQUIRED, example = "29502")
18   - @NotNull(message = "商品 SPU 编号数组不能为空")
19   - private List<Long> spuIds;
20   -
21   -}
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/favorite/vo/ProductFavoritePageReqVO.java
... ... @@ -5,11 +5,6 @@ import io.swagger.v3.oas.annotations.media.Schema;
5 5 import lombok.Data;
6 6 import lombok.EqualsAndHashCode;
7 7 import lombok.ToString;
8   -import org.springframework.format.annotation.DateTimeFormat;
9   -
10   -import java.time.LocalDateTime;
11   -
12   -import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
13 8  
14 9 @Schema(description = "管理后台 - 商品收藏分页 Request VO")
15 10 @Data
... ... @@ -19,17 +14,4 @@ public class ProductFavoritePageReqVO extends PageParam {
19 14  
20 15 @Schema(description = "用户编号", example = "5036")
21 16 private Long userId;
22   -
23   - @Schema(description = "商品 SPU 编号", example = "32734")
24   - private Long spuId;
25   -
26   - @Schema(description = "收藏时间")
27   - @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
28   - private LocalDateTime[] createTime;
29   -
30   - @Schema(description = "商品名称", example = "5036")
31   - private String name;
32   -
33   - @Schema(description = "关键字", example = "5036")
34   - private String keyword;
35 17 }
... ...
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/favorite/vo/ProductFavoriteRespVO.java
... ... @@ -15,8 +15,4 @@ public class ProductFavoriteRespVO extends ProductSpuRespVO {
15 15  
16 16 @Schema(description = "spuId", requiredMode = Schema.RequiredMode.REQUIRED, example = "111")
17 17 private Long spuId;
18   -
19   - @Schema(description = "收藏状态", example = "1")
20   - private Integer favoriteStatus;
21   -
22 18 }
... ...