时间:2021-07-01 10:21:17 帮助过:3人阅读
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$.getJSON("http://passport.aedu.cn/api/getlogin?callback=?", { uid: encodeURI(userName.val()), pwd: encodeURI(userPwd.val()) }, function (data) {
if (data.status == 0) {
//成功
$("li").hide();
$("#h").hide();
$("#div1").show();
$("#div2").show();
//window.location.href = "login.php";
$("#a").html(data.msg.UserName);
$("#b").html(data.msg.BlogAddress);