|
5精币
一直调用失败
$.ajax({
url:"http://www.milicloud.club/admin/login.jsonp?",
type:"GET",
dataType: "json",
data:$("#loginForm").serialize(),
success:function(msg){
if(msg.status!=1){
if(msg.status == -1){
showTip("验证码错误,请重新输入");
}
if(msg.status == -2){
showTip("用户不存在");
}
if(msg.status == -3){
showTip("密码错误,请重新输入");
}
if(msg.status == -4){
showTip("用户被锁定");
}
if(msg.status == -5){
showTip("未知错误");
}
refreshCode();
}else{
if(msg.status == 1){
window.location.href = "http://www.milicloud.club/admin/index.html";
}
}
},
error:function(){
showErrorMsg("系统在开小差,请稍后再试");
}
});
|
最佳答案
查看完整内容
你想说的是json解析失败吧?看你这个也不像是符合js加密调用的啊
|