项目升级到.net core 2.1

This commit is contained in:
2018-06-02 09:50:37 +08:00
parent 73753e1ee6
commit 2bce7290fe
12 changed files with 151 additions and 40 deletions
@@ -29,6 +29,7 @@ namespace COMCMS.Web.Areas.AdminCP.Controllers
#endregion
#region 低版本IE界面
//判断低版本IE
public IActionResult Ie()
{
return View();
@@ -73,7 +74,7 @@ namespace COMCMS.Web.Areas.AdminCP.Controllers
//验证用户
if (string.IsNullOrEmpty(username))
{
tip.Message = "请输入用户名!";
tip.Message = "请输入用户名!"+ key;
return Json(tip);
}
if (string.IsNullOrEmpty(password) || Utils.GetStringLength(password) < 5)