Commit 68dd36da authored by zhoujun's avatar zhoujun

'初始版本'

parent 5ffa4783
Pipeline #539 canceled with stages
...@@ -16,7 +16,9 @@ ...@@ -16,7 +16,9 @@
<div id="login_container" style="width: 400px; margin:200px auto;"></div> <div id="login_container" style="width: 400px; margin:200px auto;"></div>
<script> <script>
var url = encodeURIComponent('http://upload-apk.srccwl.com/return/login'); var url = encodeURIComponent('http://upload-apk.srccwl.com/return/login');
alert(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 goto = encodeURIComponent('https://oapi.dingtalk.com/connect/oauth2/sns_authorize?appid=dingoap7dwt39svqfxlnkx &response_type=code&scope=snsapi_login&state=STATE&redirect_uri='+url)
alert(goto);
var obj = DDLogin({ var obj = DDLogin({
id:"login_container", id:"login_container",
goto: goto, goto: goto,
......
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