From a2b55742c64f4b2c9e6bd85ed3733adccdec48de Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期五, 13 三月 2026 14:37:27 +0800
Subject: [PATCH] fix: 修复Web页面HttpClient依赖注入问题
---
Code/WCS/WIDESEAWCS_S7Simulator/WIDESEAWCS_S7Simulator.Web/Pages/Index.cshtml.cs | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/Code/WCS/WIDESEAWCS_S7Simulator/WIDESEAWCS_S7Simulator.Web/Pages/Index.cshtml.cs b/Code/WCS/WIDESEAWCS_S7Simulator/WIDESEAWCS_S7Simulator.Web/Pages/Index.cshtml.cs
index 76a2461..05e677f 100644
--- a/Code/WCS/WIDESEAWCS_S7Simulator/WIDESEAWCS_S7Simulator.Web/Pages/Index.cshtml.cs
+++ b/Code/WCS/WIDESEAWCS_S7Simulator/WIDESEAWCS_S7Simulator.Web/Pages/Index.cshtml.cs
@@ -1,8 +1,10 @@
-锘縰sing Microsoft.AspNetCore.Mvc;
-using Microsoft.AspNetCore.Mvc.RazorPages;
+锘縰sing Microsoft.AspNetCore.Mvc.RazorPages;
namespace WIDESEAWCS_S7Simulator.Web.Pages;
+/// <summary>
+/// 瀹炰緥鍒楄〃椤�
+/// </summary>
public class IndexModel : PageModel
{
private readonly ILogger<IndexModel> _logger;
@@ -14,6 +16,6 @@
public void OnGet()
{
-
+ _logger.LogInformation("Loading instance list page");
}
}
--
Gitblit v1.9.3