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