public (bool, ESysUserInfo) Login(string UserName, string Pwd)
        {
            string       sql  = "select UserID,UserName,Pwd,Mobile,OpenId,Status from Sys_UserInfo where UserName=@UserName and Pwd=@Pwd";
            ESysUserInfo user = _context.QueryFirstOrDefault <ESysUserInfo>(sql, new { UserName = UserName, Pwd = Pwd });

            return(user != null, user);
        }