This commit is contained in:
eric
2026-06-07 01:17:46 -05:00
parent 283d65d1d1
commit cd885f5fcd
110 changed files with 17876 additions and 11 deletions

View File

@@ -0,0 +1,13 @@
"use client";
import { usePayStatusPoll } from "@/app/digital/lib/payment/usePayStatusPoll";
/**
* 全局支付轮询:支付返回任意页面时检测 paid调用 confirm 后跳转首页
*/
export function PayStatusPollProvider() {
usePayStatusPoll((_orderId) => {
window.location.href = "/";
});
return null;
}