From 1f15dd43b334e31189c4580b98f57d2cc71935d8 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期一, 30 三月 2026 14:11:23 +0800
Subject: [PATCH] refactor(StockInfo): 重构 Get3DLayoutAsync 使用依赖注入服务

---
 Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoController.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoController.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoController.cs
index 62af775..1a7ac90 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoController.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoController.cs
@@ -29,7 +29,7 @@
         public async Task<WebResponseContent> Get3DLayout(int warehouseId)
         {
             var result = await Service.Get3DLayoutAsync(warehouseId);
-            return WebResponseContent.Instance.OK(result);
+            return WebResponseContent.Instance.OK(data: result);
         }
     }
 }

--
Gitblit v1.9.3