From 3770d2aeba14f7aed10180283dd8cb18552da377 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Wed, 30 Jun 2021 11:05:45 +0800
Subject: [PATCH] modify
---
gc-order/src/main/java/com/xzx/gc/order/dto/AddJhyOrderDto.java | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/gc-order/src/main/java/com/xzx/gc/order/dto/AddJhyOrderDto.java b/gc-order/src/main/java/com/xzx/gc/order/dto/AddJhyOrderDto.java
index 5bff938..1364119 100644
--- a/gc-order/src/main/java/com/xzx/gc/order/dto/AddJhyOrderDto.java
+++ b/gc-order/src/main/java/com/xzx/gc/order/dto/AddJhyOrderDto.java
@@ -1,5 +1,6 @@
package com.xzx.gc.order.dto;
+import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@@ -10,9 +11,13 @@
@ApiModel(value = "AddJhyOrderDto", description = "小程序下单参数接收类")
public class AddJhyOrderDto {
+ @ApiModelProperty(value = "地址类型")
+ private String addressType;
+
@ApiModelProperty(value = "地址ID")
private Long addressId;
+ @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
@ApiModelProperty(value = "预约日期")
private Date reserveDate;
--
Gitblit v1.9.1