feat(order): 添加日期时间格式化注解支持
- 在 CustomerProfileInfoRequest 中为 inviteDate、deliveryDate 和 createdDate 字段添加 JsonFormat 和 DateTimeFormat 注解 - 在 CustomerProfileInfoDTO 中为 inviteDate、deliveryDate 和 createdDate 字段添加 JsonFormat 和 DateTimeFormat 注解 - 在 CustomerProfileInfoGroupDTO 中为 date 字段添加 JsonFormat 和 DateTimeFormat 注解 - 在 GoodsOrderCustomer 中为 createdDate、deliveryDate 和 inviteDate 字段添加 JsonFormat 和 DateTimeFormat 注解 - 统一日期时间格式为 "yyyy-MM-dd HH🇲🇲 ss" 并设置时区为 GMT+8 - 导入 com.fasterxml.jackson.annotation.JsonFormat 和 org.springframework.format.annotation.DateTimeFormat 包
Showing
1 changed file
with
8 additions
and
0 deletions
-
Please register or sign in to post a comment