'c1'
This commit is contained in:
@@ -305,7 +305,7 @@ export async function POST(request: NextRequest) {
|
|||||||
/[&<>"']/g,
|
/[&<>"']/g,
|
||||||
(c) => ({ "&": "&", "<": "<", ">": ">", '"': """, "'": "'" })[c] || c
|
(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 isWx = ch === "wxpay" || ch === "wx" || ch === "wechat";
|
||||||
const title = isWx ? "微信扫码支付" : "支付宝扫码支付";
|
const title = isWx ? "微信扫码支付" : "支付宝扫码支付";
|
||||||
const hint = isWx ? "请使用微信扫描下方二维码完成支付" : "请使用支付宝扫描下方二维码完成支付";
|
const hint = isWx ? "请使用微信扫描下方二维码完成支付" : "请使用支付宝扫描下方二维码完成支付";
|
||||||
|
|||||||
Reference in New Issue
Block a user