username@email.com
2021-07-14 82645238a5855f6f7b8c397d1f8fa8b4a3155b94
zhengcaioa/zhengcaioa/Startup.cs
@@ -72,6 +72,7 @@
            services.AddControllersWithViews();
            services.AddScoped(typeof(ISimService), typeof(SimService));
            services.AddScoped(typeof(IHrSalaryService), typeof(HrSalaryService));
            services.AddScoped(typeof(IUserService), typeof(UserService));
            services.AddScoped(typeof(ILiaotianService), typeof(LiaotianService));
@@ -127,10 +128,27 @@
            services.AddScoped(typeof(IHrSalaryService), typeof(HrSalaryService));
            services.AddScoped(typeof(ICusFangwenjiluService), typeof(CusFangwenjiluService));
            services.AddScoped(typeof(ILZhuanjiahuidumService), typeof(LZhuanjiahuidumService));
            services.AddScoped(typeof(IWfApplytypeService), typeof(WfApplytypeService));
            services.AddScoped(typeof(IWfRunProcessService), typeof(WfRunProcessService));
            services.AddScoped(typeof(IWfNeeddeelService), typeof(WfNeeddeelService));
            services.AddScoped(typeof(IWfHistoryService), typeof(WfHistorieservice));
            services.AddScoped(typeof(IOrderBanciDtlService), typeof(OrderBanciDtlService));
            services.AddScoped(typeof(IOrderBanciService), typeof(OrderBanciService));
            services.AddScoped(typeof(IOrderBanciOrderService), typeof(OrderBanciOrderService));
            //定时执行
            services.AddHostedService<TimedBackgroundService>();
            //定时执行
            services.AddHostedService<TimerGetShopUsersService>();
            services.AddAutoMapper(typeof(AutoMapperConfigs));
            services.AddUEditorService("ueditor.json", true, "wwwroot");
            services.AddMvc(options =>{