测试卡实名
This commit is contained in:
@@ -33,7 +33,7 @@
|
|||||||
<ul class="nav nav-tabs cpName" role="tablist">
|
<ul class="nav nav-tabs cpName" role="tablist">
|
||||||
@foreach (var item in Model)
|
@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":"")">
|
<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>
|
<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>
|
<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">
|
<div class="cpTop">
|
||||||
<p class="choose">当前已选产品:</p>
|
<p class="choose">当前已选产品:</p>
|
||||||
<div class="kArea">
|
<div class="kArea">
|
||||||
|
|||||||
@@ -287,7 +287,7 @@
|
|||||||
<div class="nav" style="width:175px;">
|
<div class="nav" style="width:175px;">
|
||||||
@foreach (var item in Model)
|
@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){
|
||||||
<div class="productItem" id="@("p"+item.Product.Id)" a-pid="@item.Product.Id" a-pkg-id="@(item.Packages.FirstOrDefault(m=>m.Status==1).Id)">@item.Product.Name <span style="color: #f64e3d;font-weight:bold;float:right;padding-right: 5px;">活动</span></div>
|
<div class="productItem" id="@("p"+item.Product.Id)" a-pid="@item.Product.Id" a-pkg-id="@(item.Packages.FirstOrDefault(m=>m.Status==1).Id)">@item.Product.Name <span style="color: #f64e3d;font-weight:bold;float:right;padding-right: 5px;">活动</span></div>
|
||||||
}
|
}
|
||||||
@* else if(item.Product.Id == 4 || item.Product.Id == 13) {
|
@* else if(item.Product.Id == 4 || item.Product.Id == 13) {
|
||||||
|
|||||||
@@ -13,7 +13,29 @@
|
|||||||
randomAccount = ValidateCodeHelper.MakeCharCode(2).ToLower() + ValidateCodeHelper.MakeNumCode(4).ToLower();
|
randomAccount = ValidateCodeHelper.MakeCharCode(2).ToLower() + ValidateCodeHelper.MakeNumCode(4).ToLower();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
<script type="text/javascript">
|
||||||
|
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/Index";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
</script>
|
||||||
<style>
|
<style>
|
||||||
.tip {
|
.tip {
|
||||||
color: red;
|
color: red;
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ namespace Hncore.Pass.Vpn.Service
|
|||||||
public class AgentClient7Service : AgentClientBaseService
|
public class AgentClient7Service : AgentClientBaseService
|
||||||
{
|
{
|
||||||
string apiId = "135";
|
string apiId = "135";
|
||||||
string apiKey = "Fz1JRXVBCuwja2G2SoY2EUdgXtCGSBXS";
|
string apiKey = "7dayCFfY6zcwJa6QHtHbGQBRckjJbrbS";
|
||||||
string LoginIndexUrl { get; set; } = "login";
|
string LoginIndexUrl { get; set; } = "login";
|
||||||
string LoginUrl { get; set; } = "login";
|
string LoginUrl { get; set; } = "login";
|
||||||
string LoginCodeUrl { get; set; } = "";
|
string LoginCodeUrl { get; set; } = "";
|
||||||
@@ -188,6 +188,7 @@ namespace Hncore.Pass.Vpn.Service
|
|||||||
{"test",packageKey=="test"?"1":"0" },
|
{"test",packageKey=="test"?"1":"0" },
|
||||||
{"type",packageKey=="test"?"d":packageKey },
|
{"type",packageKey=="test"?"d":packageKey },
|
||||||
{"paynum",payCount.ToString() },
|
{"paynum",payCount.ToString() },
|
||||||
|
{"mobile","17719092232" },
|
||||||
};
|
};
|
||||||
var title = GetOpTitle("NewAccount", account);
|
var title = GetOpTitle("NewAccount", account);
|
||||||
LogHelper.Info(title, map.ToJson());
|
LogHelper.Info(title, map.ToJson());
|
||||||
|
|||||||
Reference in New Issue
Block a user