From f4f475fd3c0e066ad82cdc61707f0e8e19583a02 Mon Sep 17 00:00:00 2001 From: Rodney Chen <rodney.chen@hotmail.com> Date: 星期四, 25 七月 2024 14:51:43 +0800 Subject: [PATCH] 进入工序时要增加判断过站是否按流程设置,增加非法过站防呆 增加生产不良记录用于记录发现的不良的管理 工序节点跟节点设置增加是否允许不良品进站的字段 --- Tiger.Api/Startup.cs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Tiger.Api/Startup.cs b/Tiger.Api/Startup.cs index 047b5b1..d553c3a 100644 --- a/Tiger.Api/Startup.cs +++ b/Tiger.Api/Startup.cs @@ -123,7 +123,7 @@ app.UseEndpoints(endpoints => { endpoints.MapControllerRoute(name: "default", pattern: "{controller=Home}/{action=Index}/{id?}").RequireCors(anyAllowSpecificOrigins); - //endpoints.MapControllers().RequireCors(anyAllowSpecificOrigins); + endpoints.MapControllers().RequireCors(anyAllowSpecificOrigins); }); ConsoleExt.Write($"Api Run as{((ApiConfig.IsDevVersion || ApiConfig.IsTestVersion) ? ((ApiConfig.IsDevVersion ? " Dev" : "") + (ApiConfig.IsTestVersion ? " Test" : "")) : " Release")} Edition", ConsoleColor.Cyan); -- Gitblit v1.9.3