From f949c8886b5881fdd19c7cc46a7ea44ff5f2e011 Mon Sep 17 00:00:00 2001 From: hutongqing <hutongqing@hnkhzn.com> Date: 星期五, 13 十二月 2024 10:49:19 +0800 Subject: [PATCH] Merge branch 'master' of http://115.159.85.185:8098/r/MeiRuiAn/HuaiAn --- 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/LocationInfoController.cs | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/LocationInfoController.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/LocationInfoController.cs" index e89e2e9..3b6853e 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/LocationInfoController.cs" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/LocationInfoController.cs" @@ -1,4 +1,5 @@ -锘縰sing Microsoft.AspNetCore.Authorization; +锘縰sing HslCommunication.WebSocket; +using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using System.Collections.Generic; @@ -34,5 +35,16 @@ { return Service.AssignLocation(roadwayNo, palletType); } + + [HttpPost, Route("LocationEnableStatus")] + public WebResponseContent LocationEnableStatus([FromBody] int[] keys) + { + return Service.LocationEnableStatus(keys); ; + } + [HttpPost, Route("LocationDisableStatus")] + public WebResponseContent LocationDisableStatus([FromBody] int[] keys) + { + return Service.LocationDisableStatus(keys); ; + } } } -- Gitblit v1.9.3