From 6067debd656047dc9cb74332ede996a1d3af6cb7 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Tue, 30 Jun 2026 14:12:13 +0800
Subject: [PATCH] feat(mall): 修改用户注册流程以使用UUID作为用户名
---
src/main/java/cc/mrbird/febs/mall/dto/AddressInfoDto.java | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/main/java/cc/mrbird/febs/mall/dto/AddressInfoDto.java b/src/main/java/cc/mrbird/febs/mall/dto/AddressInfoDto.java
index 5128008..f126756 100644
--- a/src/main/java/cc/mrbird/febs/mall/dto/AddressInfoDto.java
+++ b/src/main/java/cc/mrbird/febs/mall/dto/AddressInfoDto.java
@@ -5,6 +5,7 @@
import lombok.Data;
import javax.validation.constraints.NotBlank;
+import javax.validation.constraints.NotNull;
/**
* @author wzy
@@ -14,7 +15,7 @@
@ApiModel(value = "AddressInfoDto", description = "地址接收参数类")
public class AddressInfoDto {
- @NotBlank(message = "{required}")
+ @NotNull(message = "{required}")
@ApiModelProperty(value = "id")
private Long id;
@@ -47,6 +48,8 @@
@NotBlank(message = "Country/Region required")
@ApiModelProperty(value = "Country/Region")
private String country;
+ @ApiModelProperty(value = "Country/Region")
+ private String countryName;
/**
* 经度
--
Gitblit v1.9.1