【开源中国 APP 全新上线】“动弹” 回归、集成大模型对话、畅读技术报告”
@JFinal 你好,想跟你请教个问题:我现在做了一个登陆界面使用JQuery的AJAX提交,没有使用form方式提交,体后在Controller中逻辑处理完成之后调用redirect("/") 进行跳转到首页,为什么跳转不过去,后台也没有任何错误信息?请问这是为什么?谢谢
提交代码
$.ajax({
type: "GET",
url: "login/loginUser?loginUserName="+loginUserName+"&loginPassword="+loginPassword+"&loginVerifyCode="+loginVerifyCode,
success: function(msg){
if(msg) {
$("#login_error_msg").text(msg);
$("#login_error_msg").css("display", "");
}
}
});