From 1caea0fdc7ed1788d854a2aba8853984b4494e01 Mon Sep 17 00:00:00 2001 From: wankeda <Administrator@DESKTOP-HAU3ST3> Date: 星期二, 24 六月 2025 09:56:28 +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