| | |
| | | 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; |
| | |
| | | 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); |
| | | } |
| | | } |
| | | } |