测试卡实名

This commit is contained in:
“wanyongkang”
2020-12-28 14:49:43 +08:00
parent ac6bb025ba
commit 3328223d02
5 changed files with 52 additions and 4 deletions

View File

@@ -18,6 +18,31 @@
}
}
<vc:redirecct-login></vc:redirecct-login>
<script type="text/javascript">
$(function () {
let realverify = {
cookie:document.cookie,
}
$.ajax({
type: 'POST',
async:false,
url: 'http://php-api.juip.com/api/Realname/index',
dataType: "json",
contentType: "application/json",
data: JSON.stringify(realverify),
beforeSend: function(xhr) {
xhr.withCredentials = true;
},
crossDomain: true,
success: function (res) {
if (res.Code == -10000) {
alert('接主管部门要求,会员需要实名认证方可使用该产品,点击确定前往 用户主页、个人信息 实名认证。');
window.location.href="/User/IndexInfo";
}
}
});
</script>
<div class="cpTop">
<p class="choose">当前已选产品:</p>
<div class="kArea">