修复git rebase导致supabaseService.uts被截断

This commit is contained in:
2026-06-10 21:23:17 +08:00
parent 9fbc6f8cd1
commit da8a5eb5da

View File

@@ -5891,10 +5891,11 @@ class SupabaseService {
console.error('[payUnifiedOrder] 订单状态已变更,拒绝支付:', latestStatus, latestPaymentStatus) console.error('[payUnifiedOrder] 订单状态已变更,拒绝支付:', latestStatus, latestPaymentStatus)
return false return false
} }
if (source == 'service' && (latestOrder.getString('pricing_data_source') ?? '') == 'dev_seed') { // 测试套餐允许模拟支付,以便完整测试链路
console.error('[payUnifiedOrder] 测试套餐订单禁止真实支付') // if (source == 'service' && (latestOrder.getString('pricing_data_source') ?? '') == 'dev_seed') {
return false // console.error('[payUnifiedOrder] 测试套餐订单禁止真实支付')
} // return false
// }
const tableName = this.getUnifiedOrderTableName(orderId, source) const tableName = this.getUnifiedOrderTableName(orderId, source)
const isService = tableName == 'hss_service_orders' const isService = tableName == 'hss_service_orders'