初始化项目

This commit is contained in:
2025-11-20 11:03:29 +08:00
commit 86785bb77f
988 changed files with 325041 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
using System.Diagnostics;
using AUTS_Server.Models;
using Microsoft.AspNetCore.Mvc;
using SqlSugar;
namespace AUTS_Server.Controllers
{
public class HomeController : Controller
{
private readonly ILogger<HomeController> _logger;
private readonly ISqlSugarClient db;
public HomeController(ILogger<HomeController> logger, ISqlSugarClient db)
{
_logger = logger;
this.db = db;
}
public IActionResult Index()
{
return View();
}
public IActionResult Privacy()
{
return View();
}
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
public IActionResult Error()
{
return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
}
}
}