修改驱动

This commit is contained in:
2018-06-16 15:22:40 +08:00
parent 2bce7290fe
commit 22afff6d0c
27 changed files with 179 additions and 56 deletions
+7 -9
View File
@@ -52,15 +52,13 @@ namespace COMCMS.Web.Controllers
public IActionResult Contact()
{
ViewData["Message"] = "Your contact page.";
string prekey = Utils.PrefixKey;
Article a = Article.FindById(1);
ViewBag.siteName = a.Title;
string abc = HttpContext.Session.GetString("abc");
ViewBag.c = CookiesHelper.GetCookie("abc")+ abc;
ViewBag.d = prekey;
return View();
Link l = new Link();
l.Title = "心😃💪 💪";
l.Sequence = 0;
l.IsHide = false;
l.LinkURL = "http://www.baidu.com";
l.Insert();
return View(l);
}
public IActionResult Error()