From 259cbaab9a033db8a8d5424fde57fb9d7509a1a2 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Tue, 23 Jun 2026 22:13:38 +0800
Subject: [PATCH] feat(pay): 添加巴西雷亚尔货币转换功能
---
src/main/java/cc/mrbird/febs/mall/dto/AddCollectionDto.java | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/main/java/cc/mrbird/febs/mall/dto/AddCollectionDto.java b/src/main/java/cc/mrbird/febs/mall/dto/AddCollectionDto.java
index 1316118..5ec7e90 100644
--- a/src/main/java/cc/mrbird/febs/mall/dto/AddCollectionDto.java
+++ b/src/main/java/cc/mrbird/febs/mall/dto/AddCollectionDto.java
@@ -5,10 +5,14 @@
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
+import javax.validation.constraints.NotBlank;
+import javax.validation.constraints.NotNull;
+
@Data
@ApiModel(value = "AddCollectionDto", description = "添加收藏接受参数类")
public class AddCollectionDto {
+ @NotNull(message = "The product cannot be empty")
@ApiModelProperty(value = "商品ID")
private Long goodsId;
}
--
Gitblit v1.9.1