From 6f976cb9ffe2aa527cac71509192398c71e2204a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”>
Date: Fri, 21 Jun 2024 17:52:12 +0800
Subject: [PATCH] =?UTF-8?q?=E7=95=8C=E9=9D=A2=E4=BF=AE=E6=94=B9=20?=
=?UTF-8?q?=E4=B8=8A=E7=BA=BF=E6=9E=81=E7=8B=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Host/Controllers/ProductController.cs | 54 +++
Host/Views.Mobile/LineList/Index.cshtml | 8 +
Host/Views.Mobile/Product/Index.cshtml | 81 +++-
Host/Views.Mobile/User/IndexInfo.cshtml | 19 +-
Host/Views/LineList/Index.cshtml | 13 +
Host/Views/Product/Index.cshtml | 79 +++-
Host/Views/User/Index.cshtml | 16 +-
.../Service/AgentClient21Service.cs | 404 ++++++++++++++++++
.../Hncore.Pass.Vpn/Service/AgentService.cs | 2 +
.../Service/ProductOrderService.cs | 6 +
10 files changed, 660 insertions(+), 22 deletions(-)
create mode 100644 Services/Hncore.Pass.Vpn/Service/AgentClient21Service.cs
diff --git a/Host/Controllers/ProductController.cs b/Host/Controllers/ProductController.cs
index 0b44e6e..f36aa35 100644
--- a/Host/Controllers/ProductController.cs
+++ b/Host/Controllers/ProductController.cs
@@ -944,6 +944,40 @@ namespace Home.Controllers
return View(model);
}
}
+
+ //0 无状态 1:尊享 2:高级 3:普通
+ var pro_type_flag_jihu = 0;
+ var pro_type_temp_jihu = 0;
+ if (productId == 29) {
+
+
+
+ accountList.ForEach(m => {
+
+
+ if (m.PackageId<1193) {
+ pro_type_flag_jihu = 1;
+ }
+ if (m.PackageId>1192&&m.PackageId<1199) {
+ pro_type_flag_jihu = 2;
+ }
+ if (m.PackageId>1199&&m.PackageId<1205) {
+ pro_type_flag_jihu = 3;
+ }
+
+ if (pro_type_temp_jihu==0){
+ pro_type_temp_jihu = pro_type_flag_jihu;
+ }
+ if (pro_type_temp_jihu!=pro_type_flag_jihu){
+ ViewBag.errorTip = "不同类型不能同时续费";
+ }
+
+ });
+
+ if (ViewBag.errorTip == "不同类型不能同时续费"){
+ return View(model);
+ }
+ }
//0 无状态 1:1m 5m 3:10m 4:20m
var pro_type_flag_qilindongtai = 0;
var pro_type_temp_qilindongtai = 0;
@@ -1096,6 +1130,16 @@ namespace Home.Controllers
if (pro_type_temp_liebao ==3 && m.Id>1103&&m.Id<1109) {
package_temp.Add(m);
}
+ }else if(m.ProductId == 29){
+ if (pro_type_temp_jihu ==1 && m.Id<1193) {
+ package_temp.Add(m);
+ }
+ if (pro_type_temp_jihu ==2 && m.Id>1192&&m.Id<1199) {
+ package_temp.Add(m);
+ }
+ if (pro_type_temp_jihu ==3 && m.Id>1199&&m.Id<1205) {
+ package_temp.Add(m);
+ }
}else if(m.ProductId == 27){
if (pro_type_temp_qilindongtai ==1 && m.Id<1121) {
package_temp.Add(m);
@@ -1168,6 +1212,16 @@ namespace Home.Controllers
if (pro_type_temp_liebao ==3 && m.Id>1103&&m.Id<1109) {
package_temp.Add(m);
}
+ }else if(m.ProductId == 29){
+ if (pro_type_temp_jihu ==1 && m.Id<1193) {
+ package_temp.Add(m);
+ }
+ if (pro_type_temp_jihu ==2 && m.Id>1192&&m.Id<1199) {
+ package_temp.Add(m);
+ }
+ if (pro_type_temp_jihu ==3 && m.Id>1199&&m.Id<1205) {
+ package_temp.Add(m);
+ }
}else if(m.ProductId == 27){
if (pro_type_temp_qilindongtai ==1 && m.Id<1121) {
package_temp.Add(m);
diff --git a/Host/Views.Mobile/LineList/Index.cshtml b/Host/Views.Mobile/LineList/Index.cshtml
index d7e644c..643932f 100644
--- a/Host/Views.Mobile/LineList/Index.cshtml
+++ b/Host/Views.Mobile/LineList/Index.cshtml
@@ -389,6 +389,11 @@
this.search_field = '蘑菇IP';
this.sstp = '4430';
break;
+ case 29:
+ this.l2tp = '8899';
+ this.search_field = '极狐IP';
+ this.sstp = '4430';
+ break;
case 22:
this.l2tp = '888888';
this.search_field = '火狐IP';
@@ -507,6 +512,9 @@
case 18:
self.location.href='https://php-api.juip.com/script/linedata/data/download/mogu.csv';
break;
+ case 29:
+ self.location.href='https://php-api.juip.com/script/linedata/data/download/jihu.csv';
+ break;
case 14:
self.location.href='https://php-api.juip.com/script/linedata/data/download/tiantian.csv';
break;
diff --git a/Host/Views.Mobile/Product/Index.cshtml b/Host/Views.Mobile/Product/Index.cshtml
index 0b2720a..3c89e80 100644
--- a/Host/Views.Mobile/Product/Index.cshtml
+++ b/Host/Views.Mobile/Product/Index.cshtml
@@ -185,7 +185,11 @@
@item.Product.Name超快
- } else if(item.Product.Id == 14) {
+ } else if(item.Product.Id == 29) {
+
+ @item.Product.Name超快
+
+ }else if(item.Product.Id == 14) {
@item.Product.Name
@@ -267,6 +271,14 @@
}
+
+ @if (item.Product.Id == 29){
+
+
+
+
+
+ }
@if (item.Product.Id == 27){
@@ -517,7 +529,7 @@
项目选择:
-
| 真实姓名: |
@@ -423,9 +422,9 @@
- 请截图此页面,进入支付宝扫码验证
请勿关闭此页面,扫脸验证完成后请返回此页面,点击已扫脸按钮,则认证成功
若扫脸后仍未认证成功,请联系客服
+ 请截图此页面,进入微信扫码验证
请勿关闭此页面,扫脸验证完成后请返回此页面,点击已扫脸按钮,则认证成功
若扫脸后仍未认证成功,请联系客服
-
+
@* *@
@@ -708,7 +707,7 @@ var t1 = null;
$.ajax({
type: 'POST',
- url: 'https://php-api.juip.com/api/test/aliverify',
+ url: 'https://php-api.juip.com/realname/index/verify',
dataType: "json",
contentType: "application/json",
data: JSON.stringify(data),
@@ -723,13 +722,7 @@ var t1 = null;
return ;
}
if (res.Code == 10000) {
- $('#id-cert').hide();
- $('#verify-info').show();
- new QRCode(document.getElementById("qrcode"), {
- text: res.url,
- width : 500,
- height : 500
- });
+ window.location.href=res.url;
} else {
alert('请正确填写姓名和身份证号码。');
diff --git a/Host/Views/LineList/Index.cshtml b/Host/Views/LineList/Index.cshtml
index 92d2fef..82cad39 100644
--- a/Host/Views/LineList/Index.cshtml
+++ b/Host/Views/LineList/Index.cshtml
@@ -264,6 +264,11 @@
8899 |
4430 |
+
+ | 极狐 |
+ 8899 |
+ 4430 |
+
| 麒麟 |
123 |
@@ -466,6 +471,11 @@
this.search_field = '蘑菇IP';
this.sstp = '4430';
break;
+ case 29:
+ this.l2tp = '8899';
+ this.search_field = '极狐IP';
+ this.sstp = '4430';
+ break;
case 22:
this.l2tp = '888888';
this.search_field = '火狐IP';
@@ -610,6 +620,9 @@
case 18:
self.location.href='https://php-api.juip.com/script/linedata/data/download/mogu.csv';
break;
+ case 29:
+ self.location.href='https://php-api.juip.com/script/linedata/data/download/jihu.csv';
+ break;
case 22:
self.location.href='https://php-api.juip.com/script/linedata/data/download/huohu.csv';
break;
diff --git a/Host/Views/Product/Index.cshtml b/Host/Views/Product/Index.cshtml
index d74a224..46105cb 100644
--- a/Host/Views/Product/Index.cshtml
+++ b/Host/Views/Product/Index.cshtml
@@ -296,6 +296,11 @@
if(item.Product.Id == 18) {
@item.Product.Name超快
}
+ else if(item.Product.Id == 29) {
+
+ }
else if(item.Product.Id == 14) {
@item.Product.Name
@@ -439,6 +444,22 @@
}
+
+ @if(item.Product.Id == 29) { //不限速
+
+ }
@if(item.Product.Id == 6) { //不限速
@@ -474,6 +495,9 @@
@* @if(item.Product.Id == 18){
蘑菇IP双十一活动:周卡送3天,月卡送10天,双月卡送一个月,不限制账号个数。截止时间:11月20日。
} *@
+ @if(item.Product.Id == 17){
+ 本产品升级更新中,暂无法开通,请先开通其他产品使用。更新后产品为极狐IP,280个城市,网速超快,且有赠送活动,计划于6月21日晚上线。
+ }
@if(item.Product.Id == 20){
@@ -861,7 +885,7 @@
项目选择:
-
+
@@ -1510,6 +1534,20 @@
$("#pkg"+i).hide();
}
}
+
+
+ function jhzhizun() {
+ for (var i=1187;i<1193;i++){
+ $("#pkg"+i).show();
+ }
+ $("#tabjhzx").addClass("active");
+ $("#tabjhgj").removeClass("active");
+ $("#tabjhpt").removeClass("active");
+
+ for (var i=1193;i<1205;i++){
+ $("#pkg"+i).hide();
+ }
+ }
function ttgaoji() {
$("#pkg89").hide();
$("#pkg69").hide();
@@ -1541,6 +1579,20 @@
$("#pkg"+i).show();
}
}
+ function jhgaoji() {
+ for (var i=1187;i<1193;i++){
+ $("#pkg"+i).hide();
+ }
+ $("#tabjhzx").removeClass("active");
+ $("#tabjhgj").addClass("active");
+ $("#tabjhpt").removeClass("active");
+ for (var i=1199;i<1205;i++){
+ $("#pkg"+i).hide();
+ }
+ for (var i=1193;i<1199;i++){
+ $("#pkg"+i).show();
+ }
+ }
function ttputong() {
$("#pkg89").hide();
$("#pkg69").hide();
@@ -1572,6 +1624,20 @@
$("#pkg"+i).hide();
}
}
+ function jhputong() {
+ for (var i=1187;i<1193;i++){
+ $("#pkg"+i).hide();
+ }
+ $("#tabjhzx").removeClass("active");
+ $("#tabjhgj").removeClass("active");
+ $("#tabjhpt").addClass("active");
+ for (var i=1199;i<1205;i++){
+ $("#pkg"+i).show();
+ }
+ for (var i=1193;i<1199;i++){
+ $("#pkg"+i).hide();
+ }
+ }
function xfgaoji() {
$("#xfduxiang").removeClass("active");
$("#xfgaoji").addClass("active");
@@ -1844,6 +1910,17 @@
for (var i=1;i<30;i++){
$("#p"+i).removeClass("on");
}
+ } else if (pid == 29) {
+ $(".qilinjingtai").hide();
+ for (var i=1187;i<1193;i++){
+ $("#pkg"+i).show();
+ }
+ for (var i=1193;i<1205;i++){
+ $("#pkg"+i).hide();
+ }
+ for (var i=1;i<30;i++){
+ $("#p"+i).removeClass("on");
+ }
} else if (pid == 6) {
$(".qilinjingtai").hide();
$("#pkg60").show();
diff --git a/Host/Views/User/Index.cshtml b/Host/Views/User/Index.cshtml
index fd944dc..397af66 100644
--- a/Host/Views/User/Index.cshtml
+++ b/Host/Views/User/Index.cshtml
@@ -340,8 +340,8 @@
《中华人民共和国网络安全法》第二十四条规定:
网络运营者为用户办理网络接入、域名注册服务,办理固定电话、移动电话等入网手续,或者为用户提供信息发布、即时通讯等服务,在与用户签订协议或者确认提供服务时,应当要求用户提供真实身份信息。用户不提供真实身份信息的,网络运营者不得为其提供相关服务。
1、为了你的帐号安全请勿使用他人手机号或身份信息
- 2、聚IP承诺:用户的个人隐私数据仅与支付宝方面进行交互,本公司不调用及储存用户的实人认证数据,仅接收支付宝方面的实人认证结果!
- 3、若您支付宝扫脸认证不成功,请联系客服
+ 2、聚IP承诺:用户的个人隐私数据仅与国家公安一所信息库比对,本公司不调用及储存用户的实人认证数据,仅接收公安一所方面的实人认证结果!
+ 3、若您扫脸认证不成功,请联系客服