From 6fedfe89f8a83b1e39d722dd1aaa8aff9d84558f Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Thu, 06 Feb 2025 11:12:00 +0800
Subject: [PATCH] refactor(pay): 暂停使用 FIUU 支付的返回 URL 和 Java 回调接口

---
 src/main/java/cc/mrbird/febs/mall/service/impl/ApiMallShoppingCartServiceImpl.java |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/main/java/cc/mrbird/febs/mall/service/impl/ApiMallShoppingCartServiceImpl.java b/src/main/java/cc/mrbird/febs/mall/service/impl/ApiMallShoppingCartServiceImpl.java
index 2629f7b..ad51eb4 100644
--- a/src/main/java/cc/mrbird/febs/mall/service/impl/ApiMallShoppingCartServiceImpl.java
+++ b/src/main/java/cc/mrbird/febs/mall/service/impl/ApiMallShoppingCartServiceImpl.java
@@ -54,6 +54,11 @@
             Long skuId = null;
             Long styleId = null;
             MallShoppingCart cartGoods = null;
+
+            if (addCartDto.getType() == null) {
+                addCartDto.setType(1);
+            }
+
             if (addCartDto.getType() == 1) {
                 MallGoodsSku sku = mallGoodsSkuMapper.selectById(addCartDto.getSkuId());
 

--
Gitblit v1.9.1