qinchulong
2024-10-12 7281004dc3854ed59e9164dcd27a59c8c2cf6667
项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_TestController.cs
对比新文件
@@ -0,0 +1,19 @@
锘縩amespace WIDESEA_WMSServer.Controllers;
[Route("api/test")]
[ApiController]
public class Sys_TestController : ApiBaseController<ISys_TestService, Sys_Test>
{
    private readonly IHttpContextAccessor _httpContextAccessor;
    public Sys_TestController(ISys_TestService service, IHttpContextAccessor httpContextAccessor) : base(service)
    {
        _httpContextAccessor = httpContextAccessor;
    }
    [HttpGet, Route("TranTest"), AllowAnonymous]
    public WebResponseContent TranTest()
    {
        return Service.TranTest();
    }
}