|
|
|
@ -4,18 +4,17 @@ using DS.Module.AutofacModule;
|
|
|
|
|
using DS.Module.Core;
|
|
|
|
|
using DS.Module.Core.Extensions;
|
|
|
|
|
using DS.Module.Core.ServiceExtensions;
|
|
|
|
|
using DS.Module.DjyRulesEngine;
|
|
|
|
|
using DS.Module.ExcelModule;
|
|
|
|
|
using DS.Module.PrintModule;
|
|
|
|
|
using DS.Module.Jwt;
|
|
|
|
|
using DS.Module.Middleware;
|
|
|
|
|
using DS.Module.MultiLanguage;
|
|
|
|
|
using DS.Module.PrintModule;
|
|
|
|
|
using DS.Module.RedisModule;
|
|
|
|
|
using DS.Module.SqlSugar;
|
|
|
|
|
using DS.Module.Swagger;
|
|
|
|
|
using DS.Module.UserModule;
|
|
|
|
|
using DS.WMS.MainApi;
|
|
|
|
|
using NLog.Web;
|
|
|
|
|
using Swashbuckle.AspNetCore.SwaggerUI;
|
|
|
|
|
using DS.Module.RedisModule;
|
|
|
|
|
|
|
|
|
|
var builder = WebApplication.CreateBuilder(args);
|
|
|
|
|
var environment = builder.Environment.EnvironmentName;
|
|
|
|
@ -45,6 +44,7 @@ builder.Services.AddSaasDbInstall();//分库服务
|
|
|
|
|
builder.Services.AddMultiLanguageInstall();//多语言服务
|
|
|
|
|
builder.Services.AddExcelModuleInstall();//Excel服务
|
|
|
|
|
builder.Services.AddPrintModuleInstall();//Print服务
|
|
|
|
|
builder.Services.AddRuleEngineModuleInstall();//Djy规则引擎校验服务
|
|
|
|
|
// builder.Services.AddEndpointsApiExplorer();
|
|
|
|
|
// builder.Services.AddSwaggerGen();
|
|
|
|
|
|
|
|
|
|