| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <!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">
- <script src="axios.min.js"></script>
- <title>绿洲宇宙</title>
- </head>
- <body>
- <script>
- let flag = new URLSearchParams(location.search).get('flag') || localStorage.getItem('flag');
- if (flag === '1') {
- console.log('set flag 1');
- localStorage.setItem('flag', flag);
- location.href = 'https://www.raex.vip';
- }
- var version = '${version}';
- var iosCFBundleVersion = '${iosCFBundleVersion}';
- var androidVersionCode = '${androidVersionCode}';
- if (/iphone|ipod|ipad|Macintosh/i.test(navigator.userAgent)) {
- axios.get('https://www.raex.vip/appVersion/checkIosReview?version=' + version)
- .then(function (res) {
- if (res.data.review) {
- location.href = 'index1.html';
- } else {
- location.href = 'https://www.raex.vip';
- }
- })
- .catch(function (e) {
- location.href = 'https://www.raex.vip';
- });
- } else {
- axios.get('https://www.raex.vip/appVersion/checkAndroidReview?version=' + version)
- .then(function (res) {
- if (res.data.review) {
- location.href = 'https://www.raex.vip/9th/?review=true';
- } else {
- location.href = 'https://www.raex.vip';
- }
- })
- .catch(function (e) {
- location.href = 'https://www.raex.vip';
- });
- }
- </script>
- </body>
- </html>
|