|
|
|
@ -3,6 +3,7 @@ using System.Text;
|
|
|
|
|
using Autofac;
|
|
|
|
|
using Autofac.Extensions.DependencyInjection;
|
|
|
|
|
using Entity.Dto.Resp;
|
|
|
|
|
using HybirdFrameworkCore.Auth;
|
|
|
|
|
using HybirdFrameworkCore.Autofac;
|
|
|
|
|
using HybirdFrameworkCore.AutoTask;
|
|
|
|
|
using HybirdFrameworkCore.Configuration;
|
|
|
|
@ -10,6 +11,7 @@ using HybirdFrameworkCore.Entity;
|
|
|
|
|
using HybirdFrameworkCore.Job;
|
|
|
|
|
using HybirdFrameworkCore.Redis;
|
|
|
|
|
using log4net;
|
|
|
|
|
using log4net.Util;
|
|
|
|
|
using Mapster;
|
|
|
|
|
using Microsoft.AspNetCore.Authentication.JwtBearer;
|
|
|
|
|
using Microsoft.AspNetCore.Localization;
|
|
|
|
@ -23,6 +25,7 @@ using Service.Sound.SoundClient;
|
|
|
|
|
using Service.Ups;
|
|
|
|
|
using SqlSugar;
|
|
|
|
|
using SqlSugar.IOC;
|
|
|
|
|
using AppInfo = HybirdFrameworkCore.Autofac.AppInfo;
|
|
|
|
|
|
|
|
|
|
var builder = WebApplication.CreateBuilder(args);
|
|
|
|
|
var log = LogManager.GetLogger(typeof(Program));
|
|
|
|
@ -233,6 +236,6 @@ app.UseRequestLocalization(new RequestLocalizationOptions
|
|
|
|
|
SupportedCultures = supportedCultures,
|
|
|
|
|
SupportedUICultures = supportedCultures,
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
var dateTime = SysInfo.Now;
|
|
|
|
|
|
|
|
|
|
app.Run();
|
|
|
|
|