增加文章、商品webapi方法

This commit is contained in:
2018-11-20 19:37:02 +08:00
parent 3e13843ccc
commit 25037c64d8
4 changed files with 548 additions and 1 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ namespace COMCMS.Web
MenuRegister.Register();
//注入自己的HttpContext
services.AddSingleton<IHttpContextAccessor, HttpContextAccessor>();
//services.AddSingleton<IHttpContextAccessor, HttpContextAccessor>();
//services.AddMvc().AddSessionStateTempDataProvider();
//添加Configuration到静态变量