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