Has anyone not been able to have dairy after having E.coli?

Has anyone ever got E.coli or salmonella and then not be able to have any dairy once you were better?

My daughter got a dairy intolerance after having RSV.