ArtList 底座与安全:接入 Flyway 基线、下线 mock 支付、Redis 会话隔离并清理死代码

This commit is contained in:
2026-11-04 18:10:45 +08:00
parent 3c28fe5544
commit 9ddc77415c
71 changed files with 2301 additions and 3904 deletions
+1 -16
View File
@@ -862,23 +862,8 @@ Page({
await runWithLoading(() => paymentApi.prepareOrderPayment(orderId), {
title: '准备支付'
})
const confirmed = await new Promise(resolve => {
wx.showModal({
title: '模拟支付',
content: `本次需支付 ${order.paymentInfo.amountText},确认模拟支付成功吗?`,
confirmText: '确认支付',
success: res => resolve(Boolean(res.confirm)),
fail: () => resolve(false)
})
})
if (!confirmed) {
return
}
await runWithLoading(() => paymentApi.mockOrderPaymentSuccess(orderId), {
title: '确认支付'
})
wx.showToast({
title: '支付已确认',
title: '支付单已准备,请完成支付',
icon: 'none'
})
await this.loadOrders()