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
d3661d9a
Commit
d3661d9a
authored
Nov 26, 2020
by
zhoujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'初始版本'
parent
9df203f9
Pipeline
#537
canceled with stages
Changes
1
Pipelines
1
Hide 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 @
d3661d9a
...
...
@@ -14,9 +14,7 @@
<body>
<div
id=
"login_container"
style=
"width: 400px; margin:200px auto;"
></div>
<input
type=
"hidden"
id=
"key"
value=
"{{ $key }}"
/>
<script>
var
key
=
'
{{ $key }}
'
;
var
url
=
encodeURIComponent
(
'
http://upload-apk.srccwl.com/return/login
'
);
var
goto
=
encodeURIComponent
(
'
https://oapi.dingtalk.com/connect/oauth2/sns_authorize?appid=dingoap7dwt39svqfxlnkx &response_type=code&scope=snsapi_login&state=STATE&redirect_uri=
'
+
url
)
var
obj
=
DDLogin
({
...
...
@@ -31,6 +29,8 @@
var
origin
=
event
.
origin
;
if
(
origin
==
"
https://login.dingtalk.com
"
)
{
var
loginTmpCode
=
event
.
data
;
alert
(
loginTmpCode
);
alert
(
url
);
window
.
location
.
href
=
'
https://oapi.dingtalk.com/connect/oauth2/sns_authorize?appid=dingoap7dwt39svqfxlnkx &response_type=code&scope=snsapi_login&state=STATE&redirect_uri=
'
+
url
+
'
&loginTmpCode=
'
+
loginTmpCode
}
};
...
...
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