From 2ed6444f45d227e2acc6de65c3e8b582440fb83a Mon Sep 17 00:00:00 2001 From: luofl <1442745593@qq.com> Date: 星期四, 06 三月 2025 09:20:40 +0800 Subject: [PATCH] 迭代版本:2.28 --- ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/ShoppingCartService.java | 26 +++++++++++++++++++++++++- 1 files changed, 25 insertions(+), 1 deletions(-) diff --git a/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/ShoppingCartService.java b/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/ShoppingCartService.java index 7e47d31..5fdd626 100644 --- a/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/ShoppingCartService.java +++ b/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/ShoppingCartService.java @@ -4,6 +4,7 @@ import com.ruoyi.account.api.model.AppUser; import com.ruoyi.common.core.domain.R; import com.ruoyi.order.model.ShoppingCart; +import com.ruoyi.order.util.payment.model.UniPayCallbackResult; import com.ruoyi.order.vo.*; import java.util.List; @@ -48,6 +49,29 @@ * @return */ R shoppingCartPayment(ShoppingCartPayment shoppingCartPayment); + + + /** + * 订单支付回调处理逻辑 + * @param uniPayCallbackResult + * @return + */ + R shoppingCartPaymentCallback(UniPayCallbackResult uniPayCallbackResult); + + /** + * 订单物流支付回调处理 + * @param uniPayCallbackResult + * @return + */ + R shoppingCartMaterialFlowPaymentCallback(UniPayCallbackResult uniPayCallbackResult); + - Price getPrice(AppUser appUser, Integer goodsId, Integer shopId); + Price getPrice(AppUser appUser, Integer goodsId, Integer type, Integer shopId); + + + /** + * 定时任务关闭订单 + */ + void closeOrder(); + } -- Gitblit v1.7.1