| | |
| | | 锘縰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_IWMsInfoServices; |
| | | using WIDESEA_Model.Models; |
| | |
| | | public SupplyTaskHtyController(ISupplyTaskHtyService service) : base(service) |
| | | { |
| | | } |
| | | [HttpPost, HttpGet, Route("GetInOutTasks"), AllowAnonymous] |
| | | public object GetInOutTasks() |
| | | { |
| | | WebResponseContent content = Service.GetInOutTasks(); |
| | | if (!content.Status) |
| | | { |
| | | return new |
| | | { |
| | | code = "404", |
| | | note = content.Message |
| | | }; |
| | | } |
| | | else |
| | | { |
| | | return new |
| | | { |
| | | code = "000", |
| | | note = "鎴愬姛", |
| | | date = content.Data |
| | | }; |
| | | } |
| | | } |
| | | |
| | | } |
| | | } |