fix
This commit is contained in:
@@ -743,10 +743,6 @@ func (s *ComponentReportOrderService) CheckPaymentStatus(ctx context.Context, or
|
|||||||
canDownload = false
|
canDownload = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if download.OrderNumber != nil {
|
|
||||||
// 兼容旧的支付订单逻辑
|
|
||||||
paymentStatus = "success" // 简化处理,有支付订单号就认为已支付
|
|
||||||
canDownload = true
|
|
||||||
} else {
|
} else {
|
||||||
paymentStatus = "pending"
|
paymentStatus = "pending"
|
||||||
canDownload = false
|
canDownload = false
|
||||||
|
|||||||
Reference in New Issue
Block a user