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
+2 -2
View File
@@ -65,7 +65,7 @@ export default function HomePage() {
async function runScan() {
if (!isWechatEnv()) {
navigate('/redeem');
setScanMsg('请在微信内打开门店端进行扫码核销');
return;
}
setScanning(true);
@@ -90,7 +90,7 @@ export default function HomePage() {
async function handleScan() {
setScanMsg('');
if (!isWechatEnv()) {
navigate('/redeem');
setScanMsg('请在微信内打开门店端进行扫码核销');
return;
}
try {