2025-09-25 14:37:10 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
using Microsoft.AspNetCore.Mvc;
|
2025-10-09 16:26:44 +08:00
|
|
|
|
using LM.Core.DbContext;
|
2025-09-25 14:37:10 +08:00
|
|
|
|
using Microsoft.AspNetCore.Authorization;
|
|
|
|
|
|
|
2025-10-09 16:26:44 +08:00
|
|
|
|
namespace LM.WebApi.Controllers
|
2025-09-25 14:37:10 +08:00
|
|
|
|
{
|
|
|
|
|
|
[AllowAnonymous]
|
|
|
|
|
|
public class ApiHomeController : Controller
|
|
|
|
|
|
{
|
|
|
|
|
|
public IActionResult Index()
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
return new RedirectResult("/swagger/");
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|