From 94a2e0ef9dbc67dabb8ca26c2ec7861ddb4963ea Mon Sep 17 00:00:00 2001
From: zhaojs <349234519@qq.com>
Date: 星期四, 20 七月 2023 11:46:26 +0800
Subject: [PATCH] no message

---
 public/html/mttran.html |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/public/html/mttran.html b/public/html/mttran.html
index 28480ab..dadc47a 100644
--- a/public/html/mttran.html
+++ b/public/html/mttran.html
@@ -35,7 +35,14 @@
                 //      alert(JSON.stringify(res));
                 // });
                 const userAgent = navigator.userAgent.toLowerCase();
-                alert(userAgent);
+                const iswx = userAgent.match(/weixin/i);
+                if(iswx)
+                {
+                    window.location.href="https://click.meituan.com/t?t=1&c=2&p=jqgHar5zidEL";
+                }
+                else{
+                    window.location.href="imeituan://www.meituan.com/web?lch=cps:waimai:3:65c5f4b9271221c79eae104d969a48a3:94691jutuike123456:33:85459&url=https%3A%2F%2Fclick.meituan.com%2Ft%3Ft%3D1%26c%3D2%26p%3Dhl8Lar5zidEL";
+                }
            }
         },
         mounted:function()

--
Gitblit v1.9.3