Commit 9df203f9 authored by zhoujun's avatar zhoujun

'初始版本'

parent f16a3467
Pipeline #536 canceled with stages
......@@ -18,7 +18,7 @@
<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=dingod9g2mcdepubsvfu&response_type=code&scope=snsapi_login&state=STATE&redirect_uri='+url)
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({
id:"login_container",
goto: goto,
......@@ -31,7 +31,7 @@
var origin = event.origin;
if( origin == "https://login.dingtalk.com" ) {
var loginTmpCode = event.data;
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
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
}
};
if (typeof window.addEventListener != 'undefined') {
......
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