tp5 ajax post提交表单出现500是什么情况啊?请给位大神指教
thinkphp吧
全部回复
仅看楼主
level 2
2018年09月08日 08点09分 1
level 2
急啊,急爆蛋蛋了
2018年09月08日 08点09分 2
level 7
贴代码
2018年09月08日 09点09分 3
level 7
500是服务器端问题,检查php代码肯定有问题
2018年09月09日 00点09分 4
level 2
后端数据处理出问题了
2018年09月10日 13点09分 5
level 5
后台问题
2018年09月12日 23点09分 7
level 2
SQLSTATE[HY000] [1045] Access denied for user 'root'@'ebs-30859' (using password: YES)
$.ajax({
url:"{:url('Index/login')}",
type:"post",
data:{"username":$('
#username').val(),"pwd":$('#
password').val(),'vcode':$("#vcode").val()},
success:function(data){
if(data.status == 0){
window.location.href = data.url;
}else if(data.status == 1){
layui.use('layer', function(){
var layer = layui.layer;
layer.alert(data.msg, {icon: 2});
});
}
},
2018年09月13日 07点09分 8
就是这个怎么解啊
2018年09月13日 07点09分
level 6
代码有错 控制台找原因
2018年09月26日 12点09分 10
1