From f727a93931f801bbcd3b5eb0275169cf55a87d5e Mon Sep 17 00:00:00 2001 From: 陶杰 <1378534974@qq.com> Date: 星期日, 22 九月 2024 22:40:56 +0800 Subject: [PATCH] 1.优惠券-使用条件-根据满减还是无门槛控制 2.商品限购-根据payment_time来控制 --- src/main/java/com/mzl/flower/dto/response/content/FeedbackDTO.java | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/mzl/flower/dto/response/content/FeedbackDTO.java b/src/main/java/com/mzl/flower/dto/response/content/FeedbackDTO.java index 7d3c9e1..ee0b8d3 100644 --- a/src/main/java/com/mzl/flower/dto/response/content/FeedbackDTO.java +++ b/src/main/java/com/mzl/flower/dto/response/content/FeedbackDTO.java @@ -1,12 +1,14 @@ package com.mzl.flower.dto.response.content; +import com.mzl.flower.base.AbstractTransDTO; +import com.mzl.flower.base.annotation.DictTrans; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.time.LocalDateTime; @Data -public class FeedbackDTO { +public class FeedbackDTO extends AbstractTransDTO { private Long id; @@ -17,8 +19,12 @@ private String feedBack; @ApiModelProperty("投诉反馈类型(feedback_type)") + @DictTrans(target = "typeStr",codeType = "feedback_type") private String type; + @ApiModelProperty("投诉反馈类型(feedback_type)") + private String typeStr; + @ApiModelProperty("图片") private String pictures; -- Gitblit v1.9.3