项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/StoragemodeController.cs
@@ -1,4 +1,6 @@ 锘縰sing Microsoft.AspNetCore.Mvc; 锘縰sing Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using WIDESEAWCS_Core; using WIDESEAWCS_Core.BaseController; using WIDESEAWCS_ISystemServices; using WIDESEAWCS_Model.Models; @@ -14,5 +16,11 @@ { _httpContextAccessor = httpContextAccessor; } [HttpPost, Route("UpdateStoragemode"), AllowAnonymous] public WebResponseContent UpdateStoragemode(int storagemode) { return Service.UpdateStoragemode(storagemode); } } }