feat: ai完成stock模块搭建
This commit is contained in:
@@ -27,6 +27,7 @@ using Volo.Abp.AspNetCore.VirtualFileSystem;
|
||||
using Volo.Abp.Auditing;
|
||||
using Volo.Abp.Autofac;
|
||||
using Volo.Abp.BackgroundJobs.Hangfire;
|
||||
using Volo.Abp.BackgroundWorkers;
|
||||
using Volo.Abp.Caching;
|
||||
using Volo.Abp.MultiTenancy;
|
||||
using Volo.Abp.Swashbuckle;
|
||||
@@ -106,6 +107,15 @@ namespace Yi.Abp.Web
|
||||
var host = context.Services.GetHostingEnvironment();
|
||||
var service = context.Services;
|
||||
|
||||
//本地开发环境,禁用作业执行
|
||||
if (host.IsDevelopment())
|
||||
{
|
||||
Configure<AbpBackgroundWorkerOptions> (options =>
|
||||
{
|
||||
options.IsEnabled = false;
|
||||
});
|
||||
}
|
||||
|
||||
//请求日志
|
||||
Configure<AbpAuditingOptions>(options =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user