作者 anyv
1 个管道 的构建 通过 耗费 0 秒

4

... ... @@ -128,8 +128,10 @@
img1 = $('#img1')[0].src;
$.post("{:url('Personalcenter/add_audit')}",{name:name,phone:phone,code:code,id_num:id_num,img0:img0,img1:img1},function(data){
if(data == 3){
$('.log_two_bottom_btn').text('提交').attr('disabled',false);
alert('验证码错误');
}else if(data == 2){
$('.log_two_bottom_btn').text('提交').attr('disabled',false);
alert('提交失败');
}else if(data == 1){
window.location.href = "{:url('Personalcenter/personal_center')}";
... ...