测试卡实名
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
<ul class="nav nav-tabs cpName" role="tablist">
|
||||
@foreach (var item in Model)
|
||||
{
|
||||
@if(item.Product.Id == 1||item.Product.Id == 2||item.Product.Id == 4||item.Product.Id == 6||item.Product.Id == 13||item.Product.Id == 5){
|
||||
@if(item.Product.Id == 1||item.Product.Id == 2||item.Product.Id == 4||item.Product.Id == 6||item.Product.Id == 13||item.Product.Id == 14||item.Product.Id == 5){
|
||||
|
||||
<li role="presentation" class="@(item.Product.Id==defaultProduct.Id?"active":"")">
|
||||
<a href="#@item.Product.Id" role="tab" data-toggle="tab" style="font-size: 25px;">@item.Product.Name<span style="color: #f64e3d;font-weight:bold;float:right;padding-right: 5px;">活动</span></a>
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user