From 51b709acd7638b4a6cec94703dfce4bddcf5236f Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Fri, 23 Dec 2022 12:00:49 +0800 Subject: [PATCH] 20221221 --- src/main/java/cc/mrbird/febs/mall/dto/AddOrderDto.java | 17 +++++++++++++---- 1 files changed, 13 insertions(+), 4 deletions(-) diff --git a/src/main/java/cc/mrbird/febs/mall/dto/AddOrderDto.java b/src/main/java/cc/mrbird/febs/mall/dto/AddOrderDto.java index 6cb01fc..5258765 100644 --- a/src/main/java/cc/mrbird/febs/mall/dto/AddOrderDto.java +++ b/src/main/java/cc/mrbird/febs/mall/dto/AddOrderDto.java @@ -16,13 +16,22 @@ public class AddOrderDto { @NotNull(message = "参数不能为空") - @ApiModelProperty(value = "地址ID", example = "1") - private Long addressId; + @ApiModelProperty(value = "商品ID", example = "1") + private Long goodsId; + + @ApiModelProperty(value = "门店ID", example = "1") + private Long shopId; + + @ApiModelProperty(value = "订单提交类型", example = "1从购物车提交, 2从商品直接提交") + private Integer type; @ApiModelProperty(value = "备注") private String remark; - @ApiModelProperty(value = "商品明细") - private List<AddOrderItemDto> items; + @ApiModelProperty(value = "1-普通订单/2-积分订单") + private Integer orderType; + + @ApiModelProperty(value = "配送方式 1:快递寄送2:到店自提") + private Integer deliverType; } -- Gitblit v1.9.1