From 47e03d0aa72b6bd1c62c4ecff0c25289890f7abc Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Wed, 12 Feb 2025 10:49:17 +0800
Subject: [PATCH] refactor(mall): 根据系统配置选择不同的物流服务接口 - 在 AdminMallOrderService 和 CommonService 中添加了根据系统配置选择物流服务接口的逻辑 - 新增了 SENDER_STATE 数据字典项,用于控制使用测试环境还是生产环境的物流服务 - 根据系统配置,选择不同的 ClientParamEnum 实例来调用

---
 src/main/java/cc/mrbird/febs/mall/dto/ApiApplayLeaderDto.java |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/src/main/java/cc/mrbird/febs/mall/dto/ApiApplayLeaderDto.java b/src/main/java/cc/mrbird/febs/mall/dto/ApiApplayLeaderDto.java
index 33eeaae..e2552ea 100644
--- a/src/main/java/cc/mrbird/febs/mall/dto/ApiApplayLeaderDto.java
+++ b/src/main/java/cc/mrbird/febs/mall/dto/ApiApplayLeaderDto.java
@@ -5,6 +5,7 @@
 import lombok.Data;
 
 import javax.validation.constraints.NotBlank;
+import javax.validation.constraints.NotNull;
 
 @Data
 @ApiModel(value = "ApiApplayLeaderDto", description = "参数接收类")
@@ -23,15 +24,15 @@
     @ApiModelProperty(value = "自提点照片")
     private String addressPic;
     //省
-    @NotBlank(message = "省不能为空")
+//    @NotBlank(message = "省不能为空")
     @ApiModelProperty(value = "省")
     private String province;
     //市
-    @NotBlank(message = "市不能为空")
+//    @NotBlank(message = "市不能为空")
     @ApiModelProperty(value = "市")
     private String city;
     //区
-    @NotBlank(message = "区不能为空")
+//    @NotBlank(message = "区不能为空")
     @ApiModelProperty(value = "区")
     private String township;
     //小区名称
@@ -43,11 +44,12 @@
     @ApiModelProperty(value = "详细地址")
     private String detailAddress;
     //经度
-    @NotBlank(message = "经度不能为空")
+    @NotNull(message = "经度不能为空")
     @ApiModelProperty(value = "经度")
     private Double longitude;
     //纬度
-    @NotBlank(message = "纬度不能为空")
+    @NotNull(message = "纬度不能为空")
     @ApiModelProperty(value = "纬度")
     private Double latitude;
+
 }

--
Gitblit v1.9.1