1
wankeda
2025-03-22 867aba2636e34a1050b1c4c84bbe78cc9c39b553
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
32
33
34
35
36
37
38
39
40
41
42
43
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);
        }
 
        [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);
        }
    }
}