Commit 063afbf9 by wyc

考勤上报加载上月调整,logo和医院名称(appsettings.json)

parent 49b5b0c8
......@@ -21,7 +21,9 @@ public AppController(ILogger<AppController> logger, IConfiguration configuration
public ActionResult AppOptions()
{
var OpenOAuth = _configuration.GetValue<bool>("AppOptions:OpenOAuth", false);
return Ok(new ApiResponse(ResponseType.OK, "", new { OpenOAuth }));
var siteTitle = _configuration.GetValue("AppOptions:SiteTitle", "");
var siteLogo = _configuration.GetValue("AppOptions:SiteLogo", "");
return Ok(new ApiResponse(ResponseType.OK, "", new { OpenOAuth, siteTitle, siteLogo }));
}
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment