From ce45ce3ed0a4824422672e1453a556e474f19a82 Mon Sep 17 00:00:00 2001 From: 18278715334 <18278715334@163.com> Date: Tue, 23 Dec 2025 18:54:38 +0800 Subject: [PATCH] fix --- .../application/product/component_report_order_service.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/internal/application/product/component_report_order_service.go b/internal/application/product/component_report_order_service.go index c46b718..b54d248 100644 --- a/internal/application/product/component_report_order_service.go +++ b/internal/application/product/component_report_order_service.go @@ -743,11 +743,7 @@ func (s *ComponentReportOrderService) CheckPaymentStatus(ctx context.Context, or canDownload = false } } - } else if download.OrderNumber != nil { - // 兼容旧的支付订单逻辑 - paymentStatus = "success" // 简化处理,有支付订单号就认为已支付 - canDownload = true - } else { + } else { paymentStatus = "pending" canDownload = false }