$.ajax({
url: "{:U('/admin/User/checkloginajax')}",
type: "post",
dataType: "json",
data: {
username: username,
password: password,
vcode: vcode
}
}).done(function (g) {
if (g.status == 1) {
window.location.href = "{:U('/admin/Index/index')}";
} else {
alert(g.info);
$('#vcode').attr("src", verifyimg.replace(/\?.*$/, '') + '?' + Math.random());
}
})
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请
点击举报。