26 lines
536 B
HTML
26 lines
536 B
HTML
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<title>微信登录</title>
|
||
|
<script type="text/javascript" src="js/hotime.js" ></script>
|
||
|
</head>
|
||
|
<body>
|
||
|
<script>
|
||
|
H.post("app/wechat/code",{"code":H.getParam("code")},function (res) {
|
||
|
if(res.statu==0){
|
||
|
if(res.result==0){
|
||
|
H.upUrl("wx/index.html");
|
||
|
}else {
|
||
|
H.upUrl("wx/register.html");
|
||
|
}
|
||
|
return;
|
||
|
}
|
||
|
alert(res.result.type)
|
||
|
})
|
||
|
|
||
|
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|