将项目升级到.net core 3.0

This commit is contained in:
2019-10-30 17:14:02 +08:00
parent 4552e40bfa
commit 9fc5162230
19 changed files with 112 additions and 106 deletions
@@ -16,8 +16,8 @@ namespace COMCMS.Web.Areas.AdminCP.Controllers
[Area("AdminCP")]
public class IndexController : AdminBaseController
{
private readonly IHostingEnvironment _env;
public IndexController(IHostingEnvironment env)
private readonly IWebHostEnvironment _env;
public IndexController(IWebHostEnvironment env)
{
_env = env;
}