From b1dbef13075c3a6fea62e41db4cdcd7334e1e92b Mon Sep 17 00:00:00 2001
From: rk <94314517@qq.com>
Date: 星期一, 02 三月 2026 13:42:55 +0800
Subject: [PATCH] 小程序   接口开发

---
 server/dmmall_service/src/main/java/com/doumee/service/business/impl/CouponServiceImpl.java |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/server/dmmall_service/src/main/java/com/doumee/service/business/impl/CouponServiceImpl.java b/server/dmmall_service/src/main/java/com/doumee/service/business/impl/CouponServiceImpl.java
index bdea826..17d1b46 100644
--- a/server/dmmall_service/src/main/java/com/doumee/service/business/impl/CouponServiceImpl.java
+++ b/server/dmmall_service/src/main/java/com/doumee/service/business/impl/CouponServiceImpl.java
@@ -106,6 +106,9 @@
                 throw new BusinessException(ResponseStatus.NOT_ALLOWED.getCode(), "鍏宠仈鐨勫簵閾轰笉瀛樺湪锛�");
             }
         }
+        if(Constants.equalsInteger(coupon.getCouponType(),Constants.ZERO)){
+            coupon.setMaxPrice(null);
+        }
         if(coupon.getUseType() ==0){
             coupon.setValidDays(null);
         }else{

--
Gitblit v1.9.3