From a3014a01e07619105d597d0c51cf195217b0806f Mon Sep 17 00:00:00 2001 From: wankeda <Administrator@DESKTOP-HAU3ST3> Date: 星期二, 29 七月 2025 10:47:01 +0800 Subject: [PATCH] 1 --- WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/MaterielInfoController.cs | 16 +++++++++++++++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/MaterielInfoController.cs b/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/MaterielInfoController.cs index 9c68c68..ae85f35 100644 --- a/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/MaterielInfoController.cs +++ b/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/MaterielInfoController.cs @@ -1,5 +1,7 @@ -锘縰sing Microsoft.AspNetCore.Http; +锘縰sing Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; +using WIDESEA_Common; using WIDESEA_Core; using WIDESEA_Core.BaseController; using WIDESEA_Core.CodeConfigEnum; @@ -49,5 +51,17 @@ //{ // return Service.GetWarehouseMaterielInfos(warehouseId); //} + + /// <summary> + /// 鑾峰彇WMS鐗╂枡淇℃伅 + /// </summary> + /// <param name="warehouseId"></param> + /// <returns></returns> + [HttpPost, HttpGet, Route("GetMaterielInfos"), AllowAnonymous] + public WebResponseContent GetMaterielInfos([FromBody] List<HouseMaterielinfo> materielinfo) + { + return Service.GetMaterielInfos(materielinfo); + } + } } -- Gitblit v1.9.3