This commit is contained in:
2025-12-23 18:54:38 +08:00
parent 34e2c1bc41
commit ce45ce3ed0

View File

@@ -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
}