public (bool Status, string Message, string Token, Entities.SysUser.SysUser) validateUser(LoginModel loginModel, string r) { var ret = getAccount(loginModel.Account); if (ret == null) { return(false, "用户名或密码错误", null, null); } var md5Password = EncryptorHelper.GetMd532(loginModel.Password + r); //if (md5Password.Equals()) //{ //} return(true, "登录成功", "aaaa111111", new Entities.SysUser.SysUser() { Name = "李四" }); }