From 2b7a4996e6481cc3a79ed6c821c1e7621ff2c529 Mon Sep 17 00:00:00 2001 From: wmp <17516219072@163.com> Date: Sat, 18 Oct 2025 20:15:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=9F=AD=E6=95=88=E6=97=A0?= =?UTF-8?q?=E9=99=90=E9=87=8F=E7=99=BD=E5=90=8D=E5=8D=95=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Host/Controllers/ProductController.cs | 1 + Host/Controllers/UserController.cs | 8 + Host/Views/Product/Http.cshtml | 51 +++- Host/Views/Shared/_UserLayout.cshtml | 5 + Host/Views/User/HttpPackageList.cshtml | 210 ++++++++++------- Host/Views/User/HttpWhiteIpSU.cshtml | 312 +++++++++++++++++++++++++ 6 files changed, 490 insertions(+), 97 deletions(-) create mode 100644 Host/Views/User/HttpWhiteIpSU.cshtml diff --git a/Host/Controllers/ProductController.cs b/Host/Controllers/ProductController.cs index 294f862..ed14fcb 100644 --- a/Host/Controllers/ProductController.cs +++ b/Host/Controllers/ProductController.cs @@ -825,6 +825,7 @@ namespace Home.Controllers [HttpGet] public async Task Http() { + ViewData["BaseUrl"] = m_Configuration["BaseInfoUrl"]; return View(); } [HttpGet] diff --git a/Host/Controllers/UserController.cs b/Host/Controllers/UserController.cs index 5d337f6..e04e1f0 100644 --- a/Host/Controllers/UserController.cs +++ b/Host/Controllers/UserController.cs @@ -640,6 +640,7 @@ namespace Home.Controllers public IActionResult HttpPackageList() { var userId = this.Request.GetUserInfo().UserId; + ViewData["BaseUrl"] = m_Configuration["BaseInfoUrl"]; return View(); } [HttpGet] @@ -664,6 +665,13 @@ namespace Home.Controllers return View(); } + [HttpGet] + [UserAuth] + public IActionResult HttpWhiteIpSU() + { + ViewData["BaseUrl"] = m_Configuration["BaseInfoUrl"]; + return View(); + } /// /// 发送手机验证码 diff --git a/Host/Views/Product/Http.cshtml b/Host/Views/Product/Http.cshtml index cd54c2e..dfd2028 100644 --- a/Host/Views/Product/Http.cshtml +++ b/Host/Views/Product/Http.cshtml @@ -221,6 +221,26 @@ +
+
+
+
白名单数量:
+
+
+ + + +
+ + 您的白名单上限{{ dxwxl_data.maxWhitelist }}个, + 价格无折扣 + {{11 - dxwxl_data.maxWhitelist}}折 + 6折 + +
+
+
+
@@ -700,7 +720,7 @@ \ No newline at end of file diff --git a/Host/Views/User/HttpWhiteIpSU.cshtml b/Host/Views/User/HttpWhiteIpSU.cshtml new file mode 100644 index 0000000..c41fdca --- /dev/null +++ b/Host/Views/User/HttpWhiteIpSU.cshtml @@ -0,0 +1,312 @@ +@{ + Layout = "_UserLayout"; +} + +
+
+
+ + +
+
+
当前白名单列表 + 当前白名单数量:{{ whiteLimit }} 个 + +
+ + +
+ + + + + + + + + + + + + + + + + + +
IP地址设置时间锁定状态操作
{{item.id}}{{item.ip}}{{item.createTime}}{{item.isLocked}} + 锁定 + 解锁 + 删除 +
+
+
+
+
+ \ No newline at end of file