public void DL(Umodel m) { if (m.Uname == "" || m.Upass == "") { Console.WriteLine("账户密码不能为空"); } else { Console.WriteLine("登录成功"); } }
public IActionResult Login(Umodel m) { return(View(dal.DL(m))); }