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>
| | |
| | | { |
| | | } |
| | | |
| | | |
| | | /// <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); |
| | | } |
| | | } |
| | | } |