Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
upload-apk
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhoujun
upload-apk
Commits
f16a3467
Commit
f16a3467
authored
Nov 26, 2020
by
zhoujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'初始版本'
parent
7cd9413a
Pipeline
#535
canceled with stages
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
resources/views/login/index.blade.php
resources/views/login/index.blade.php
+2
-2
No files found.
resources/views/login/index.blade.php
View file @
f16a3467
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
<script>
<script>
var
key
=
'
{{ $key }}
'
;
var
key
=
'
{{ $key }}
'
;
var
url
=
encodeURIComponent
(
'
http://upload-apk.srccwl.com/return/login
'
);
var
url
=
encodeURIComponent
(
'
http://upload-apk.srccwl.com/return/login
'
);
var
goto
=
encodeURIComponent
(
'
https://oapi.dingtalk.com/connect/oauth2/sns_authorize?appid=
'
+
key
+
'
&response_type=code&scope=snsapi_login&state=STATE&redirect_uri=
'
+
url
)
var
goto
=
encodeURIComponent
(
'
https://oapi.dingtalk.com/connect/oauth2/sns_authorize?appid=
dingod9g2mcdepubsvfu
&response_type=code&scope=snsapi_login&state=STATE&redirect_uri=
'
+
url
)
var
obj
=
DDLogin
({
var
obj
=
DDLogin
({
id
:
"
login_container
"
,
id
:
"
login_container
"
,
goto
:
goto
,
goto
:
goto
,
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
var
origin
=
event
.
origin
;
var
origin
=
event
.
origin
;
if
(
origin
==
"
https://login.dingtalk.com
"
)
{
if
(
origin
==
"
https://login.dingtalk.com
"
)
{
var
loginTmpCode
=
event
.
data
;
var
loginTmpCode
=
event
.
data
;
window
.
location
.
href
=
'
https://oapi.dingtalk.com/connect/oauth2/sns_authorize?appid=
'
+
key
+
'
&response_type=code&scope=snsapi_login&state=STATE&redirect_uri=
'
+
url
+
'
&loginTmpCode=
'
+
loginTmpCode
window
.
location
.
href
=
'
https://oapi.dingtalk.com/connect/oauth2/sns_authorize?appid=
dingod9g2mcdepubsvfu
&response_type=code&scope=snsapi_login&state=STATE&redirect_uri=
'
+
url
+
'
&loginTmpCode=
'
+
loginTmpCode
}
}
};
};
if
(
typeof
window
.
addEventListener
!=
'
undefined
'
)
{
if
(
typeof
window
.
addEventListener
!=
'
undefined
'
)
{
...
...
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