diff --git a/view/peko/modules/identity/js/new.js b/view/peko/modules/identity/js/new.js index b5bc3b9..f1586ed 100644 --- a/view/peko/modules/identity/js/new.js +++ b/view/peko/modules/identity/js/new.js @@ -87,21 +87,34 @@ $(function () { if (res.code == 200) { var checkBol = res.data; var $mask = $('.status-mask'); - if (checkBol.authResult) { - console.log('已短信验证!') - } else if (checkBol.hasCertify && !checkBol.canCertify) { - console.log('已实名且没有机会了') + // if (checkBol.authResult) { + // console.log('已短信验证!') + // } else if (checkBol.hasCertify && !checkBol.canCertify) { + // console.log('已实名且没有机会了') + // $mask.addClass("have-identity"); + // $mask.find(".text").html("您已通过实名认证"); + // $mask.find(".tips").html("系统已成功审核您的实名认证"); + // $mask.show(); + // } else if (checkBol.hasCertify && checkBol.canCertify) { + // console.log('已实名还有一次机会') + // // var $mask = $('.status-mask'); + // $mask.addClass("have-identity"); + // $mask.find(".text").html("您已通过实名认证"); + // $mask.find(".tips").html("系统已成功审核您的实名认证"); + // $mask.find(".goto-change").removeClass('hide'); + // $mask.show(); + // } + if (checkBol.hasCertify) { $mask.addClass("have-identity"); $mask.find(".text").html("您已通过实名认证"); $mask.find(".tips").html("系统已成功审核您的实名认证"); + $mask.find(".goto-change").removeClass('hide'); $mask.show(); - } else if (checkBol.hasCertify && checkBol.canCertify) { - console.log('已实名还有一次机会') - // var $mask = $('.status-mask'); + } else { $mask.addClass("have-identity"); - $mask.find(".text").html("您已通过实名认证"); - $mask.find(".tips").html("系统已成功审核您的实名认证"); + $mask.find(".text").html("您未通过实名认证"); + $mask.find(".tips").html("系统审核您的实名认证失败"); $mask.find(".goto-change").removeClass('hide'); $mask.show(); } diff --git a/view/peko/modules/identity/new.html b/view/peko/modules/identity/new.html index deb63eb..916946d 100644 --- a/view/peko/modules/identity/new.html +++ b/view/peko/modules/identity/new.html @@ -90,7 +90,7 @@ - + \ No newline at end of file