示例#1
0
        /// <summary>
        /// 更新密码
        /// </summary>
        /// <param name="id"></param>
        /// <param name="pwd"></param>
        /// <returns></returns>
        public bool UpdatePwd(int id, string pwd)
        {
            string pwd1 = MD5Encrypt.Md5Hex(pwd);

            return(dal.UpdatePwd(id, pwd1) == 1);
        }