扫码登录api
Re扫码登录api
var obj = DDLogin({
id:'login_container',//
goto: '%22https%3a%2f%2foapi.dingtalk.com%2fconnect%2foauth2%2fsns_authorize%3fappid%3ddingoamdpehc22sinvfvkd%26response_type%3dcode%26scope%3dsnsapi_login%26state%3dSTATE%26redirect_uri%3dhttp%3a%2f%2f115.28.21.105%3a8190%2froadManage%2froadManage.html%22',
style: 'border:none;background-color:#FFFFFF;',
width : '400',
height: '300',
});
var hanndleMessage = function (event) {
var loginTmpCode = event.data;
var origin = event.origin;
};
if (typeof window.addEventListener != 'undefined') {
window.addEventListener('message',hanndleMessage,false);
} else if (typeof window.attachEvent != 'undefined') {
window.attachEvent('onmessage', hanndleMessage);
}
接下来怎么做 ,总是确认之后不跳转然后显示二维码失效
赞0
踩0