/// <summary>修改密码 /// </summary> /// <param name="uId">用户Id</param> /// <param name="opwd">旧密码</param> /// <param name="pwd">新密码</param> /// <returns></returns> public int UpdatePassWord(string uId, string opwd, string pwd) { UserDal userDal = new UserDal(); return userDal.UpdatePassWord(uId, opwd, pwd); }
/// <summary>修改密码 /// </summary> /// <param name="uId">用户Id</param> /// <param name="passWord">密码</param> /// <returns></returns> public bool UpdatePassWord(string uId, string passWord) { UserDal userDal = new UserDal(); return userDal.UpdatePassWord(uId, passWord); }