I have finished my audio course on Cantonese and was confused about one grammar point. Sometimes people in the conversations, referring to the past tense, would say something like this for "Did you drink tea?":

你有冇飲一啲茶？

But then at other points they would say something like:

你飲唔飲咗一啲茶？

Which is correct? Is there a difference?