From 13b0b92e981330f3c0dfaf351c203045f90bdb93 Mon Sep 17 00:00:00 2001
From: wxw <Administrator@DESKTOP-5BIMHQ3>
Date: 星期三, 08 十月 2025 08:16:14 +0800
Subject: [PATCH] 修改四向车库移库分配库位逻辑
---
Wms/Wms/Startup.cs | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/Wms/Wms/Startup.cs b/Wms/Wms/Startup.cs
index 8b90be5..ce3d236 100644
--- a/Wms/Wms/Startup.cs
+++ b/Wms/Wms/Startup.cs
@@ -174,7 +174,11 @@
app.UseAuthentication();
app.UseAuthorization();
app.UseCors("MyCors");//跨域
+ //发布后展示页面
+ app.UseDefaultFiles();
+ app.UseStaticFiles();
+ app.UseWebSockets();
app.UseEndpoints(endpoints =>
{
endpoints.MapControllers();
--
Gitblit v1.8.0