fix(h5-shop): remove redeem debug UI and enforce WeChat scan flow

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-07 00:19:11 +08:00
parent 5d19089f91
commit 98022b936f
5 changed files with 18 additions and 57 deletions
+1 -2
View File
@@ -47,6 +47,5 @@ export async function scanQrCode(config: WeixinSdkConfig): Promise<string | null
});
}
const manual = typeof window !== 'undefined' ? window.prompt('当前环境无法调起微信扫码,请手动输入核销') : null;
return manual?.trim() || null;
throw new Error('请在微信内打开以使用扫码核销');
}