wanshenmean
2026-03-30 f1f9549a8393ce67f01dbb560ecec3e375564739
feat(StockInfoController): 添加 Get3DLayout GET 接口

- 路由: GET /api/StockInfo/Get3DLayout?warehouseId={id}
- 参数: warehouseId (int)
- 返回: WebResponseContent.OK(result)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
已修改1个文件
12 ■■■■■ 文件已修改
Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoController.cs 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoController.cs
@@ -20,6 +20,16 @@
        {
        }
        /// <summary>
        /// 获取仓库3D布局
        /// </summary>
        /// <param name="warehouseId">仓库ID</param>
        /// <returns>3D布局数据</returns>
        [HttpGet("Get3DLayout")]
        public async Task<WebResponseContent> Get3DLayout(int warehouseId)
        {
            var result = await Service.Get3DLayoutAsync(warehouseId);
            return WebResponseContent.Instance.OK(result);
        }
    }
}