Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

libai / fireflyReg

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • fireflyReg
  • footseenPay
  • index.html
Find file
Normal viewHistoryPermalink
index.html 993 Bytes
Newer Older
libai's avatar
测试
8e24e39a
 
libai committed a year ago
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title></title>
</head>

<body>
    <script type="text/javascript" src="https://app.ixiulive.com/static/js/jquery-3.1.1.min.js"></script>
    <script>

        $.ajaxSetup({
            global: false,
            type: 'post',
            dataType: "JSON"
        })
        $.ajax({
            url: getGoUrl(),
            success: function (res) {
                if (res.code == 1) {
                    window.location.href = res.url;
                }
            }
        })
        function getGoUrl() {
            var url = location.href;
            if (url.indexOf("?") != -1) {
                var str = url.substr(url.indexOf("?") + 1);
                var goUrl = str.split('goUrl=')[1];
                return goUrl
            }

        }
    </script>
</body>

</html>