wankeda
2025-03-13 a6a33f6916afbf1fc629baecb772939cda2ee981
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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;
 
namespace WIDESEA_WMSServer.Controllers.Basic
{
    [Route("api/CachePoint")]
    [ApiController]
    public class CachePointController : ApiBaseController<ICachePointService, Dt_CachePoint>
    {
        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);
        }
    }
}