Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cmb_auth
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
wildfirecode13
cmb_auth
Commits
17306358
Commit
17306358
authored
Oct 27, 2021
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11111
parent
aef29adc
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
55 deletions
+4
-55
1.html
1.html
+0
-51
index.html
public/index.html
+1
-1
sparkrc.js
sparkrc.js
+2
-2
app.jsx
src/app.jsx
+1
-1
No files found.
1.html
deleted
100644 → 0
View file @
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
public/index.html
View file @
17306358
...
@@ -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>
...
...
sparkrc.js
View file @
17306358
...
@@ -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/1635
234383940
"
,
"RES_PATH_PROD"
:
"//yun.duiba.com.cn/spark/v2/temp_base/1635
330460861
"
,
"JS_PATH_PROD"
:
"https://yun.duiba.com.cn/spark/v2/temp_base/1635
234386624
/js"
"JS_PATH_PROD"
:
"https://yun.duiba.com.cn/spark/v2/temp_base/1635
330463153
/js"
}
}
\ No newline at end of file
src/app.jsx
View file @
17306358
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment