From 179c4d64313c9b7572778da4aaaf6c6584fe457d Mon Sep 17 00:00:00 2001 From: mitao <2763622819@qq.com> Date: 星期二, 20 五月 2025 23:48:08 +0800 Subject: [PATCH] 修改文件上传类型限制 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/easyPhoto/AddEasyPhotoActivityDTO.java | 15 +++++++++------ 1 files changed, 9 insertions(+), 6 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/easyPhoto/AddEasyPhotoActivityDTO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/easyPhoto/AddEasyPhotoActivityDTO.java index 0d43ec0..a252b45 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/easyPhoto/AddEasyPhotoActivityDTO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/easyPhoto/AddEasyPhotoActivityDTO.java @@ -1,18 +1,18 @@ package com.panzhihua.common.model.dtos.community.easyPhoto; +import java.math.BigDecimal; + +import org.hibernate.validator.constraints.Length; + import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; -import org.hibernate.validator.constraints.Length; - -import java.math.BigDecimal; -import java.util.Date; @Data @ApiModel("添加随手拍活动请求参数") public class AddEasyPhotoActivityDTO { - @ApiModelProperty(value = "社区主键",hidden = true) + @ApiModelProperty(value = "社区主键", hidden = true) private Long communityId; @ApiModelProperty("活动开始时间") @@ -22,7 +22,7 @@ private String activityEndAt; @ApiModelProperty("活动简介") - @Length(max=20) + @Length(max = 20) private String content; @ApiModelProperty("优质奖励金额") @@ -34,6 +34,9 @@ @ApiModelProperty("普通奖励金额") private BigDecimal ordinaryReward; + @ApiModelProperty("一般奖励金额") + private BigDecimal commonlyReward; + @ApiModelProperty("活动图片") private String logo; } -- Gitblit v1.7.1