From 19e95f4acc328bbf62a0427fe658d00268019e66 Mon Sep 17 00:00:00 2001 From: zhaowc <526854230@qq.com> Date: 星期一, 07 四月 2025 10:14:34 +0800 Subject: [PATCH] 修改IIS配置 --- Wms/Wms/Controllers/PdaAsnController.cs | 31 +++++++++++++++++++++++++++++-- 1 files changed, 29 insertions(+), 2 deletions(-) diff --git a/Wms/Wms/Controllers/PdaAsnController.cs b/Wms/Wms/Controllers/PdaAsnController.cs index 977d562..8e48743 100644 --- a/Wms/Wms/Controllers/PdaAsnController.cs +++ b/Wms/Wms/Controllers/PdaAsnController.cs @@ -128,6 +128,33 @@ } /// <summary> + /// 鍒ゆ柇鎵樼洏鏄惁鍙敤 + /// </summary> + /// <param name="model">PalletNo锛氭墭鐩樻潯鐮�</param> + /// <returns></returns> + [HttpPost] + public IActionResult IsEnableLocatNo(PalletBindVm model) + { + try + { + var strMsg = _PdaAsnSvc.IsEnableLocatNo(model.LocatNo); + + if (strMsg == "") + { + return Ok(new { code = 0, msg = "鍦扮爜鍙敤!" }); + } + else + { + return Ok(new { code = 1, msg = strMsg }); + } + } + catch (Exception e) + { + return Ok(new { code = 1, msg = e.Message }); + } + } + + /// <summary> /// 鑾峰彇鍗曟嵁鏄庣粏鍒楄〃 /// </summary> /// <param name="model">AsnNo:鍗曟嵁鍙�</param> @@ -528,7 +555,7 @@ { try { - var models = _PdaAsnSvc.GetBindBoxInfos(model, _config.BoxHost + _config.FuMaGetBoxUrl); + var models = _PdaAsnSvc.GetBindBoxInfos(model, _config.BoxHost + _config.FuMaGetBoxUrl, _config.BoxHost + _config.FuMaGetTokenUrl); return Ok(new { code = 0, msg = "鏍囩绠辩爜淇℃伅", data = models }); } @@ -548,7 +575,7 @@ { try { - var models = _PdaAsnSvc.GetBindBoxInfo2s(model, _config.BoxHost + _config.FuMaGetBoxUrl); + var models = _PdaAsnSvc.GetBindBoxInfo2s(model, _config.BoxHost + _config.FuMaGetBoxUrl, _config.BoxHost + _config.FuMaGetTokenUrl); return Ok(new { code = 0, msg = "鏍囩绠辩爜淇℃伅", data = models }); } -- Gitblit v1.8.0