From 905b043a2acb5c9346093af6b1fc5ab2b6ac17f9 Mon Sep 17 00:00:00 2001 From: eric Date: Fri, 13 Mar 2026 05:14:44 -0500 Subject: [PATCH] 'c1' --- app/api/pay/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/pay/route.ts b/app/api/pay/route.ts index 35c6ebf..a0e31c8 100644 --- a/app/api/pay/route.ts +++ b/app/api/pay/route.ts @@ -305,7 +305,7 @@ export async function POST(request: NextRequest) { /[&<>"']/g, (c) => ({ "&": "&", "<": "<", ">": ">", '"': """, "'": "'" })[c] || c ); - const ch = String(resData.channel || "alipay").toLowerCase(); + const ch = String(resData.channel || "wxpay").toLowerCase(); const isWx = ch === "wxpay" || ch === "wx" || ch === "wechat"; const title = isWx ? "微信扫码支付" : "支付宝扫码支付"; const hint = isWx ? "请使用微信扫描下方二维码完成支付" : "请使用支付宝扫描下方二维码完成支付";