diff --git a/LTEMvcApp/Controllers/HomeController.cs b/LTEMvcApp/Controllers/HomeController.cs index 29a2427..a59668c 100644 --- a/LTEMvcApp/Controllers/HomeController.cs +++ b/LTEMvcApp/Controllers/HomeController.cs @@ -155,9 +155,9 @@ public class HomeController : Controller /// /// 客户端消息队列页面 /// - public IActionResult ClientMessages(string clientName = "TestClient") + public IActionResult ClientMessages(string address = null) { - ViewBag.ClientName = clientName; + ViewBag.Address = address; return View(); }