| | |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using Autofac.Core; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using WIDESEAWCS_Core; |
| | | using WIDESEAWCS_Core.BaseController; |
| | | using WIDESEAWCS_Core.Caches; |
| | | using WIDESEAWCS_ISystemServices; |
| | |
| | | { |
| | | _httpContextAccessor = httpContextAccessor; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// ä¿®æ¹å
¥åºæ¹æ¬¡ä¿¡æ¯ |
| | | /// </summary> |
| | | /// <param name="batch"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, HttpGet, Route("UpdateInBatch")] |
| | | public WebResponseContent UpdateInBatch(string batch) |
| | | { |
| | | return Service.UpdateInBatch(batch); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// ä¿®æ¹åºåºæ¹æ¬¡ä¿¡æ¯ |
| | | /// </summary> |
| | | /// <param name="batch"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, HttpGet, Route("UpdateOutBatch")] |
| | | public WebResponseContent UpdateOutBatch(string batch) |
| | | { |
| | | return Service.UpdateOutBatch(batch); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// ä¿®æ¹åºåºç©æä¿¡æ¯ï¼éè¦åºå¤è´è¿æ¯èªäº§ 0ä¸åºåº 1åºåº |
| | | /// </summary> |
| | | /// <param name="batch"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, HttpGet, Route("UpdateOutStorageMode")] |
| | | public WebResponseContent UpdateOutStorageMode(int mode) |
| | | { |
| | | return Service.UpdateOutStorageMode(mode); |
| | | } |
| | | } |
| | | } |