refactor: centralize wechat notification dispatch

This commit is contained in:
john
2026-06-30 21:26:46 +08:00
parent 9c653e9b16
commit 6e4e0e2937
6 changed files with 186 additions and 12 deletions
+1
View File
@@ -1215,6 +1215,7 @@ export function createUserAuth(pool, options = {}) {
amountCents: amount,
operatorId: operatorId ?? null,
paymentOrderId,
dedupeKey: paymentOrderId ? `recharge:${paymentOrderId}` : null,
notificationType: rechargeType,
title,
body,