From 4da42c12efde190b208f18b7dd51d3e89986837d Mon Sep 17 00:00:00 2001
From: wankeda <Administrator@DESKTOP-HAU3ST3>
Date: 星期一, 07 四月 2025 11:19:16 +0800
Subject: [PATCH] 代码逻辑优化

---
 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/CachePointController.cs |   28 +++++++++++++++++++++++++++-
 1 files changed, 27 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/CachePointController.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/CachePointController.cs"
index 4f28899..d894c0e 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/CachePointController.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/CachePointController.cs"
@@ -1,5 +1,7 @@
-锘縰sing Microsoft.AspNetCore.Http;
+锘縰sing Microsoft.AspNetCore.Authorization;
+using Microsoft.AspNetCore.Http;
 using Microsoft.AspNetCore.Mvc;
+using WIDESEA_Core;
 using WIDESEA_Core.BaseController;
 using WIDESEA_IBasicService;
 using WIDESEA_Model.Models;
@@ -13,5 +15,29 @@
         public CachePointController(ICachePointService service) : base(service)
         {
         }
+        [HttpPost, Route("GetEndPoints"), AllowAnonymous]
+        public WebResponseContent GetEndPoints()
+        {
+            return Service.GetEndPoints();
+        }
+
+        //鏌ヨ缂撳瓨鏋剁姸鎬�
+        [HttpPost, Route("GetHCJStaue"), AllowAnonymous]
+        public WebResponseContent GetHCJStaue(string stationcode)
+        {
+            return Service.GetHCJStaue(stationcode);
+        }
+
+        [HttpPost,Route("UpdateHCJStaue"),AllowAnonymous]
+        public WebResponseContent UpdateHCJStaue([FromBody]SaveModel saveModel)
+        {
+            return Service.UpdateHCJStaue(saveModel);
+        }
+
+        [HttpPost, Route("PrintStatusUp")]
+        public WebResponseContent PrintStatusUp(string pointCode)
+        {
+            return Service.PrintStatusUp(pointCode);
+        }
     }
 }

--
Gitblit v1.9.3