A Keelung city councilor from Taiwan's ruling Democratic Progressive Party has been detained on corruption charges.