浏览代码

补订单

lcl 10 月之前
父节点
当前提交
f1bc41abc1
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. 2 3
      Controllers/HomeController.cs

+ 2 - 3
Controllers/HomeController.cs

@@ -4,16 +4,15 @@ using LitJson;
 using System;
 using System.IO;
 using System.Text.RegularExpressions;
+using Microsoft.AspNetCore.Mvc;
 
 namespace MySystem.Controllers
 {
     public class HomeController : Controller
     {
-        private readonly ILogger<HomeController> _logger;
 
-        public HomeController(ILogger<HomeController> logger)
+        public HomeController()
         {
-            _logger = logger;
         }
 
         public IActionResult Index()