From 01d6fa48a0de7a21988e89f71721b6b85e53b517 Mon Sep 17 00:00:00 2001
From: mitao <2763622819@qq.com>
Date: 星期四, 06 三月 2025 16:33:53 +0800
Subject: [PATCH] 去掉资讯图片必填限制

---
 ruoyi-modules/ruoyi-auction/src/main/java/com/ruoyi/auction/controller/management/dto/MgtAuctionSalesroomDTO.java |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/ruoyi-modules/ruoyi-auction/src/main/java/com/ruoyi/auction/controller/management/dto/MgtAuctionSalesroomDTO.java b/ruoyi-modules/ruoyi-auction/src/main/java/com/ruoyi/auction/controller/management/dto/MgtAuctionSalesroomDTO.java
index 8a62f07..02f86db 100644
--- a/ruoyi-modules/ruoyi-auction/src/main/java/com/ruoyi/auction/controller/management/dto/MgtAuctionSalesroomDTO.java
+++ b/ruoyi-modules/ruoyi-auction/src/main/java/com/ruoyi/auction/controller/management/dto/MgtAuctionSalesroomDTO.java
@@ -40,7 +40,6 @@
     private LocalDateTime startTime;
 
     @ApiModelProperty(value = "保证金")
-    @NotNull(message = "保证金不能为空")
     private BigDecimal bond;
 
     @ApiModelProperty(value = "实名认证 0=不需认证 1=需要实名")
@@ -48,19 +47,20 @@
     private AuthenticationEnum authentication;
 
     @ApiModelProperty(value = "拍卖场说明")
-    @NotBlank(message = "拍卖场说明不能为空")
     private String description;
 
-    @ApiModelProperty(value = "拍卖场封面图")
-    @NotBlank(message = "拍卖场封面图不能为空")
+    @ApiModelProperty(value = "大屏拍卖场封面图")
+    @NotBlank(message = "大屏拍卖场封面图不能为空")
     private String coverPic;
 
+    @ApiModelProperty(value = "用户端拍卖场封面图")
+    @NotBlank(message = "用户端拍卖场封面图不能为空")
+    private String clientCoverPic;
+
     @ApiModelProperty(value = "分享标题")
-    @NotBlank(message = "分享标题不能为空")
     private String shareTitle;
 
     @ApiModelProperty(value = "分享图片")
-    @NotBlank(message = "分享图片不能为空")
     private String sharePic;
 
     @Valid

--
Gitblit v1.7.1