wanglizhong
2025-05-05 9b8a7157bb9c401de973a4107f74ff3e723ec156
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<html>
  <head>
    <meta charset="utf-8">
    <title>跳转小程序</title>
    <style>html,body{height: 100%; padding: 0px; margin: 0px;}</style>
  </head>
<?php $URLScheme=empty($_REQUEST['URL'])!=false ? "1VFSoQwlTod" : addslashes($_REQUEST['URL']);?>
  <body>
    <div style="width: 100%;height: 100%; justify-content: center; align-items: center; display: flex;">
      <h1><a href="javascript:void(0);" onclick="jumpToMp()">点我跳转到小程序</a></h1>
    </div>
  </body>
  <script>
    function jumpToMp(){
      window.location.href = 'weixin://dl/business/?t=<?php echo $URLScheme;?>'; // <!-- replace -->
    }
    jumpToMp()
</script>
</html>