This commit is contained in:
2020-08-07 21:19:54 +00:00
parent b90236b81e
commit a993d4d18b
4 changed files with 72 additions and 149 deletions

View File

@@ -46,10 +46,7 @@ namespace AyaNova.Api.Controllers
public async Task<IActionResult> GetGlobalBizSettings()
{
if (serverState.IsClosed)
{
return StatusCode(503, new ApiErrorResponse(serverState.ApiErrorCode, null, serverState.Reason));
}
//Instantiate the business object handler
GlobalBizSettingsBiz biz = GlobalBizSettingsBiz.GetBiz(ct, HttpContext);
@@ -115,7 +112,7 @@ namespace AyaNova.Api.Controllers
LicenseStatus = AyaNova.Core.License.ActiveKey.Status,
MaintenanceExpired = AyaNova.Core.License.ActiveKey.MaintenanceExpired,
ServerDbId = AyaNova.Core.License.ServerDbId,
Company=AyaNova.Core.License.ActiveKey.RegisteredTo
Company = AyaNova.Core.License.ActiveKey.RegisteredTo
// ,
// TestTSDaysWMS=new TimeSpan(22,10,15,22,33),
// TestTSHMS=new TimeSpan(5,16,33),
@@ -125,7 +122,7 @@ namespace AyaNova.Api.Controllers
// TestTS_D=new TimeSpan(22,0,0,0,0)
};
return Ok(ApiOkResponse.Response(ret));