wankeda
2025-06-24 1caea0fdc7ed1788d854a2aba8853984b4494e01
´úÂë¹ÜÀí/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/CachePointController.cs
@@ -1,5 +1,7 @@
using Microsoft.AspNetCore.Http;
using 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);
        }
    }
}