Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
e4ab1124c3
2 files changed
+10
-4
No files matched your search
+1
@@ -74,6 +74,7 @@ public class AppProductSpuController {
|
||||
return success(BeanUtils.toBean(list, AppProductSpuRespVO.class));
|
||||
}
|
||||
|
||||
|
||||
@GetMapping("/list-by-ids")
|
||||
@Operation(summary = "获得商品 SPU 列表")
|
||||
@Parameter(name = "ids", description = "编号列表", required = true)
|
||||
|
||||
+9
-4
@@ -28,9 +28,6 @@ public class AppProductSpuDetailRespVO {
|
||||
@Schema(description = "商品分类编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
||||
private Long categoryId;
|
||||
|
||||
@Schema(description = "设备IMEI", requiredMode = Schema.RequiredMode.REQUIRED, example = "371")
|
||||
private String deviceId;
|
||||
|
||||
@Schema(description = "商品封面图", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
private String picUrl;
|
||||
|
||||
@@ -53,6 +50,13 @@ public class AppProductSpuDetailRespVO {
|
||||
@Schema(description = "库存", requiredMode = Schema.RequiredMode.REQUIRED, example = "666")
|
||||
private Integer stock;
|
||||
|
||||
/**
|
||||
* 配送方式数组
|
||||
* <p>
|
||||
* 对应 DeliveryTypeEnum 枚举
|
||||
*/
|
||||
private List<Integer> deliveryTypes;
|
||||
|
||||
/**
|
||||
* SKU 数组
|
||||
*/
|
||||
@@ -81,7 +85,8 @@ public class AppProductSpuDetailRespVO {
|
||||
@Schema(description = "市场价,单位使用:分", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
|
||||
private Integer marketPrice;
|
||||
|
||||
@Schema(description = "VIP 价格,单位使用:分", requiredMode = Schema.RequiredMode.REQUIRED, example = "968") // 通过会员等级,计算出折扣后价格
|
||||
@Schema(description = "VIP 价格,单位使用:分", requiredMode = Schema.RequiredMode.REQUIRED, example = "968")
|
||||
// 通过会员等级,计算出折扣后价格
|
||||
private Integer vipPrice;
|
||||
|
||||
@Schema(description = "图片地址", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://www.iocoder.cn/xx.png")
|
||||
|
||||
Reference in new issue
Block a user