Fabrication of nanostructured flowerlike p-BiOI/p-NiO heterostructure and its efficient photocatalytic performance in water treatment under visible-light irradiation