| | |
| | | using Furion; |
| | | using Furion.SpecificationDocument; |
| | | using IGeekFan.AspNetCore.Knife4jUI; |
| | | using Microsoft.AspNetCore.Builder; |
| | | using Microsoft.AspNetCore.Hosting; |
| | | using Microsoft.AspNetCore.Http; |
| | | using Microsoft.AspNetCore.Mvc.Controllers; |
| | | using Microsoft.AspNetCore.Server.Kestrel.Core; |
| | | using Microsoft.Extensions.DependencyInjection; |
| | | using Microsoft.Extensions.FileProviders; |
| | | using Microsoft.Extensions.Hosting; |
| | | using Serilog; |
| | | using SqlSugar; |
| | | using System.Text.Json.Serialization; |
| | | using Yw.Application; |
| | | using Mapster; |
| | | using IGeekFan.AspNetCore.Knife4jUI; |
| | | using Furion.SpecificationDocument; |
| | | using Microsoft.AspNetCore.Mvc.Controllers; |
| | | using Furion.Authorization; |
| | | |
| | | namespace HStation.WebApi |
| | | { |
| | |
| | | options.MaxRequestBodySize = int.MaxValue; |
| | | }); |
| | | |
| | | // services.AddJwt<JwtHandler>(enableGlobalAuthorize: true); |
| | | // services.AddJwt<JwtHandler>(enableGlobalAuthorize: true); |
| | | |
| | | //// 拦截器 |
| | | services.AddMvcFilter<AuthorizationFilter>(); |