12345678910111213141516171819202122232425262728293031323334353637383940 |
- <!DOCTYPE html>
- <html>
- <head>
- <title></title>
- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <style>
-
- </style>
- <script type="text/javascript">
- function load()
- {
- // var toUrl = document.URL
- // var toPage = toUrl.split(":")
- // var port = toPage[2].split("/")
- // var totalUrl = toPage[0] + toPage[1] + ':' + port[0]
- var url = document.URL
- var urlArrar = url.split("&")
- userInfo = {}
- urlArrar.shift()
- urlArrar.forEach(item => {
- keyObj = item.split("=")
- userInfo[keyObj[0]] = keyObj[1]
- })
-
- localStorage.setItem('loginInfo', JSON.stringify(userInfo))
- if (userInfo.test === 'true') {
- window.location.href = 'http://duptest.bgyfw.com:8001/#/welcome'
- } else {
- window.location.href = 'https://dup.bgyfw.com/#/welcome'
- }
- // window.location.href= totalUrl + "/#/welcome"
- }
- </script>
- </head>
- <body onload="load()">
- <div>
- </div>
- </body>
- </html>
|