Commit 17306358 authored by wildfirecode13's avatar wildfirecode13

11111

parent aef29adc
<!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>Document</title>
<script src="https://yun.duiba.com.cn/db_games/debug/vconsole.min.js"></script>
<script>
// init vConsole
var vConsole = new VConsole();
console.log('Hello world,354');
</script>
</head>
<body>
<script>
function getQueryVariable(variable) {
var query = window.location.search.substring(1);
var vars = query.split("&");
for (var i = 0; i < vars.length; i++) {
var pair = vars[i].split("=");
if (pair[0] == variable) { return pair[1]; }
}
return (false);
}
</script>
<script>
const cmbdata = getQueryVariable('cmbdata');
console.log('cmbdata', decodeURIComponent(getQueryVariable('cmbdata')));
console.log('location.href', location.href)
if (cmbdata) {
} else {
const protocol = 'cmblife://approval?aid=6b9a76cce8b54060a3a31867c4c9281d&callback=http%3A%2F%2Factivity.m.duibatest.com.cn%2Fprojectx%2Fp19dcfe16%2Findex.html&clientType=h5&date=20211008173254&keyAlias=CO_PUB_KEY_SM2&mid=1611e17549f83f6d83c77822d0bf7bef&random=3aea65eb302643b6ae37ea1679df1d46&responseType=code&scope=defaultScope&sign=MEQCICn7x9vdwkeBn6tl63XKXS%2Bl9UxUVsL0BXmMXoQ%2FHgJ9AiBVIEHSleUhyr1A%2BqbnRxk4Ila%2BZWT4stTJr8B%2Bu6viOA%3D%3D&state=state';
setTimeout(() => {
window.location.href = protocol;
}, 100);
}
</script>
</body>
</html>
\ No newline at end of file
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#000000"> <meta name="theme-color" content="#000000">
<title>活动标题</title> <title>小招喵神投手</title>
<script src="https://yun.duiba.com.cn/js-libs/vConsole/3.3.4/vconsole.min.js"></script> <script src="https://yun.duiba.com.cn/js-libs/vConsole/3.3.4/vconsole.min.js"></script>
<script> <script>
......
...@@ -9,6 +9,6 @@ module.exports ={ ...@@ -9,6 +9,6 @@ module.exports ={
"IMAGE_Q1": 0.6, "IMAGE_Q1": 0.6,
"IMAGE_Q2": 0.8, "IMAGE_Q2": 0.8,
"RES_PATH": "/src/assets/", "RES_PATH": "/src/assets/",
"RES_PATH_PROD": "//yun.duiba.com.cn/spark/v2/temp_base/1635234383940", "RES_PATH_PROD": "//yun.duiba.com.cn/spark/v2/temp_base/1635330460861",
"JS_PATH_PROD": "https://yun.duiba.com.cn/spark/v2/temp_base/1635234386624/js" "JS_PATH_PROD": "https://yun.duiba.com.cn/spark/v2/temp_base/1635330463153/js"
} }
\ No newline at end of file
...@@ -52,7 +52,7 @@ class App extends Component { ...@@ -52,7 +52,7 @@ class App extends Component {
setTimeout(() => { setTimeout(() => {
console.error('generateLoginUrlResult', generateLoginUrlResult) console.error('generateLoginUrlResult', generateLoginUrlResult)
}, 1000); }, 1000);
// location.replace(generateLoginUrlResult.data); location.replace(generateLoginUrlResult.data);
} else { } else {
//没有获取到code //没有获取到code
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment