This commit is contained in:
2018-09-27 23:43:59 +08:00
parent 2a2240b8dd
commit 5a6bbdd077
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -58,6 +58,8 @@ namespace COMCMS.Web.Controllers
public IActionResult Contact() public IActionResult Contact()
{ {
Link l = Link.Find(Link._.Id == 1); Link l = Link.Find(Link._.Id == 1);
l.Title = "😂😂😂😂";
l.Save();
return View(l); return View(l);
} }
+1 -1
View File
@@ -13,7 +13,7 @@
}, },
"connectionStrings": { "connectionStrings": {
"dbconn": { "dbconn": {
"connectionString": "Server=.;Port=3306;Database=comcms2;Uid=root;Pwd=root;SslMode=None", "connectionString": "Server=.;Port=3306;Database=comcms2;Uid=root;Pwd=root;SslMode=None;charset=utf8mb4",
"providerName": "MySql.Data.MySqlClient" "providerName": "MySql.Data.MySqlClient"
}, },
"mssqlconnon": { "mssqlconnon": {