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